This is a Backend Repository for Second Hand Products Application. To complete the MSIB Binar Academy capstone project. Feel free to contribute or fork.
- Staging Deploy Backend
- Production Deploy Backend
- Staging Deploy Frontend
- Production Deploy Frontend
- Frontend Repository
- Install the dependencies :
npm install
- Make project on firebase, add the firebase storage to your project and add firebase cloud messaging
- Download all credentials that needed for the project
- Setup .env file : copy the .env.example to .env and fill the values
- Create Database :
sequelize db:create || npx sequelize-cli db:create
- Run Migrations :
sequelize db:migrate || npx sequelize-cli db:migrate
- Run Seeders :
sequelize db:seed:all || npx sequelize-cli db:seed:all
- Run Project :
npm start
- See API Documentation : Go to
{{server}}/docs
to see the Swagger API documentation .
The main Technology what we use to build this application is:
- Node.js
- Express.js
- Sequelize ORM
- Passport.js
- PostgreSQL
- Firebase Storage
- Socket.io
- Firebase Cloud Messaging
- Swagger Documentation