we are creating a new MVP, this new platform must be scalable and flexible to support our continuous growth. We want to implement a micro-service architecture and the first part of the project is to develop a to-do web app with two sets of REST endpoints and the UI to display the data
http://react-app-todo-ms.s3-website-us-east-1.amazonaws.com/
http://react-app-606020119.us-west-2.elb.amazonaws.com/api/todos
http://react-app-606020119.us-west-2.elb.amazonaws.com/api/users
You have to clone the repository, install npm packages and run services.
cd users
npm install
npm start
This will run Users service on localhost on port 3001. It has a preconfigured (production) database from mLab for Rose Global easy check.
cd todos
npm install
npm start
This will run Todos service on localhost on port 3002. It has a preconfigured (production) database from mLab for Rose Global easy check.
After running the services you have to run the React Todo App:
cd app
npm install
npm start
For each microservice I have code some unit testings. To run them you have to move to the microservice folder and run the tests. For users microservice it would be:
cd users
npm test
They check get, create, update and delete endpoints of each microservice.
Juan Pablo Rossetti
This project is licensed under the ISC License.