-
clone the repo
git clone https://github.com/kwadwoatta/appa-api.git
-
cd into the repo
cd appa-api
-
copy .env.example to .env and fill them out
-
install all dependencies
pnpm install
-
start the mongodb (database) service
docker compose up -d
-
start the app in development mode
pnpm start:dev
-
import db/appa.user.json into mongodb
-
visit url in Postman
http://localhost:3000/api/
-
login with one of the seeded users
{ "email": "customer@gmail.com", "password": "password" }
-
copy access token and set as authorization header for subsequent requests
Authorization: Bearer {your access token}
-
Notifications
You must be signed in to change notification settings - Fork 0
kwadwoatta/appa-api
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Appa is a real-time package delivery system built with Socket.io
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published