Errnd is a platform where your errands are completed by your communities
- Node.js
- Express
- Mocha/Chai
- Eslint
- Babel
-
Register a user
POST /auth/signup
-
Login a user
POST /auth/login
-
Create a profile
POST /profile/:username
-
View a profile
GET /profile/:username
-
Switch roles
PUT /role/:username
-
Create a service
POST /services/:username
-
Update a service
PUT /services/:username/update/:serviceId
-
Ensure you have node 10.x.x installed.
-
Install node modules with the command
- npm install
-
Start the API server with command
- npm start
-
Start the API development server with command
- npm run start:dev
-
Check API index with Postman
-
Run test with
- npm test