BACK END OF DROP SHOP PROJECT
Before getting started, make sure you have the following installed:
Note: Using Docker is strongly recommended to avoid dependency issues.
- Clone the repository
git clone https://github.com/TsitouhRanjafy/back-end-drop-shop.git
cd back-end-drop-shop- Run with Docker (recommended)
docker compose upThis will:
- Build the Docker image
- Install dependencies
- Start the server on http://127.0.0.1:8080 (or the configured port)
- (Optional) Run locally without Docker
cd source
- create a
.env.devfirst (referenced by the.env.exemple)
touch .env.dev # edit this file by the reference
- install dotenvx
curl -sfS https://dotenvx.sh | shor
wget -qO- https://dotenvx.sh | sh
- run project
rm -r node_modules # remove the node_modules installed by docker
npm ci
npm run start:dev