This backend serves as the core API for the Consumer-App,Driver-app and Locker-simulator handling all operations related to parcel delivery services. It facilitates user registration, authentication, parcel tracking, and management.
Live Backend: Backend on Azure
- Node.js (See Node.js official site for installation)
- Postman or similar API testing tool for making requests
- Install Dependencies:
npm install
- Start the Server in Development Mode:
The server will start, typically on
npm run dev
localhost:5000.
Key endpoints available in the API include user registration, authentication, and parcel management.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/users |
Register a new user. |
| POST | /api/users/signin |
Authenticate an existing user. |
-
Create (Register a New User):
curl -X POST https://node-backend-speed.azurewebsites.net/api/users \ -H 'Content-Type: application/json' \ -d '{"username": "newuser", "password": "password", "email": "newuser@example.com"}' -
Sign In (Authenticate User):
curl -X POST https://node-backend-speed.azurewebsites.net/api/users/signin \ -H 'Content-Type: application/json' \ -d '{"username": "newuser", "password": "password"}'
The backend is deployed on Azure and updated through a CI/CD pipeline connected to the GitHub repository.
- Node.js and Express - Server framework
- Azure App Service - Hosting platform
- Mussa Muna
- Nafisa Akter
- Gebrehiwot Matusala
- Mst Airen Aktar
This project is licensed under the MIT License - see the LICENSE.md file for details.