The problem statement was to develop a web app using React and MongoDB that can perform user registration and user list action. I took this opportunity to try Next.js which is a React Framework with SSR and code splitting by default. It was also my first time working with MongoDB.
Demo 🥳🎉
.
├── Dockerfile
├── README.md
├── __tests__
├── api
├── components
├── docker-compose.yml
├── heroku.yml
├── jest.config.js
├── jest.setup.js
├── less
├── next.config.js
├── package.json
├── pages
├── public
├── server.js
├── services
├── tree.txt
└── yarn.lock
- Frontend: React (Next.js)
- Backend: Express.js
- Database: MongoDB
- Platform: Node.js
- Deployment: Docker
git clone git@github.com:afzalsayed96/next-app.git
cd next-app
Go to project directory and run
docker-compose up --build web
App will start running at localhost:3000
docker-compose build test
docker-compose run test