a mini example of how Microservices are work. build with React & NodeJS
Service Name | Port | Description |
---|---|---|
client | 3000 | React Frontend |
post | 4000 | Post Backend |
comment | 4001 | comment Backend |
Path | Method | Body | Goals |
---|---|---|---|
/posts/:id/comments | POST |
{content: string} | Create comment associated with the given post ID |
/posts/:id/comments | GET |
- | Retrive all comments associated with the given post D |
Path | Method | Body | Goals |
---|---|---|---|
/posts/ | POST |
{title: string} | Create a new post |
/posts/ | GET |
- | Retrive all posts |
Learning source : https://www.udemy.com/course/microservices-with-node-js-and-react/
Notes : https://drive.google.com/drive/u/0/folders/1iiMhq4S81PNr44SOPLDiXmemGfI5cJeE
Course log (not played yet) : 10. Handling CORS Errors