In this project we developed an ecommerce app which provides a platform for buyers and sellers to meet. Each Seller will be able to register, post their products, and fully manage their stock. Buyers will be able to see all the products on the platform, add and remove products to their shopping carts, and buy from any seller where they will be able pay via the platform.
- Node.js
- Express
- Postgres DB
- Sequelize ORM
To use our project locally, you will need the following:
- Node.js
- A Package manager (we used npm)
- Postgres
- Git
- Clone the repo
- Run
npm install
to install all package dependencies - Create a
.env
file and get the contents of.env.example
file and edit them - To run migrations into Postgres use the following command:
npx sequelize-cli db:migrate
- To run seeders into Postgres use the following command:
npx sequelize-cli db:seed:all
- Run the project using this command
npm start
To contribute to this project:
- Clone the repo
- Create a branch choose a naming convention depending on what you are working on:
- feature:
git checkout -b ft-name-of-the-feature-bn-TrelloCardNumber
- bug:
git checkout -b bg-name-of-the-bug-bn-TrelloCardNumber
- chore:
git checkout -b ft-name-of-the-chore-bn-TrelloCardNumber
- Commit your changes using this git command
git commit -m "commit message"
- Push your changes to the branch you created
git push origin branch-name
- Open a pull request
Distributed under the MIT License.