✅ Production ready with one docker-compose command.
✅ Use MVC architecture.
✅ Local dockerized postgres db.
✅ Dockerized PgAdmin to check the db records.
✅ Sequelize ORM configured.
✅ CRUD API (Todo App).
✅ JEST for testing.
✅ Seperate Database(Sqlite) configured for test cases coverage.
✅ Hot Container reload.
- Sequelize: For ORM & database operations.
- JEST: For testing purposes.
- Docker & docker-compose : For Virtualization.
- postgresSQL: Database.
- PgAdmin: To interact with the Postgres database sessions.
- Swagger-Autogen: To automatically generate swagger-ui documentation.
Make sure you have docker and docker-compose installed docker installation guide
create .env file in the root directory
DATABASE_URL=postgres://postgres:postgres@database:5432/todo-app-db
DB_USER=postgres
DB_PASSWORD=postgres
DB_NAME=todo-app-db
[email protected]
PGADMIN_PASSWORD=password
docker-compose build
docker-compose up
Your Production Ready Express CRUD backend app is up and running on localhost:3000
🎉
Make sure you read the contributing guidelines before opening a PR.
- MIT © Meer Hamza
🙋🏻♂️ Yo! It's Meer, a senior year CS undergrad. Let's get connected