This repository houses the backend application of an e-commerce website developed by Andela Team Bit-Crafters
This is an e-commerce web application that have been built using relevant cutting edge technologies and frameworks. The main features of this project include, user authentication, product management, shooping cart, account management, ...
List of endpoints exposed by the service
Before you begin, ensure you have met the following requirements:
- You have installed node V12+ in your local environment.
- You have a package manager (npm or yarn) installed.
- You have installed postgres Database
- You have installed docker
- You have a
Windows/Linux/Mac
machine. - You have read
<guide/link/documentation_related_to_project>
.
To install this project, follow these steps:
- Clone or download this repository onto your local machine.
- Open a terminal/command prompt in the directory where you downloaded the project.
- Run
npm install
to install all dependencies listed in the package.json file. - Create a
.env
file at the root level of the project folder. Add the necessary environment variables for connecting to your database. - Run
npx sequelize-cli db:migrate
for running migrations
To run this project, follow these steps:
- Make sure Docker is running
- Make sure that you have started the PostgreSQL server
- Run
docker compose build -t e-commerce-bitcrafters-bn
to build the service - Run
docker compose up
ordocker compose up -d
(runs in the background) - Run
docker login
to login with your docker credentials
List out the microservices if any that this repo uses
Step-by-step instructions on how to run the tests so that the developer can be sure they've set up the code correctly
To contribute to this project, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin <Project_Name>/<location>
- Create the pull request.
Alternatively, see the GitHub documentation on creating a pull request.
Step-by-step instructions so that the developer can understand how code gets updated
Thanks to the following people who have contributed to this project:
Contributors - Gatete Ishema Angelo Christian
- Mpano Athos
- Furaha Justine
- Irankunda Yvan David
- Bananayo Sosthene
- Niyokwizerwa Eric
- Impano Chretien Fidel
Managers: - Munezero Sosthene
- Didas Mbalanya
If you want to contact us you can reach us at [email protected]
.
This project uses the following license: MIT Licence.