Connect, Deliver, Thrive - A modern package delivery platform for Rwanda ๐ท๐ผ
SafeBike is a revolutionary API that connects passengers who need to send packages with riders who can deliver them. Our platform enables fast, secure, and trackable deliveries across Rwanda with real-time updates and confirmations.
-
๐ค User Management
- Passenger registration and authentication
- Rider registration and authentication
- Profile management
-
๐ฆ Package Management
- Create package delivery requests
- Track package status
- Assign packages to riders
- Confirm pickup and delivery
- Recipient confirmation
-
๐ Security
- JWT-based authentication
- Role-based access control
- Secure data storage
-
๐ API Documentation
- Comprehensive Swagger documentation
- Clear endpoint descriptions
- Backend: TypeScript, Node.js, Fastify
- Database: PostgreSQL
- ORM: TypeORM
- Authentication: JWT
- Documentation: Swagger/OpenAPI
- Node.js (v14+)
- PostgreSQL
- Git
- Clone the repository
git clone https://github.com/your-username/safebike-rwanda.git
cd safebike-rwanda- Install dependencies
npm install- Set up environment variables
DB_HOST=localhost DB_PORT=5432 DB_USER=your_db_user DB_PASSWORD=your_db_password DB_NAME=safebike PORT=5000 JWT_SECRET=your_jwt_secret NODE_ENV=development
- Start the server
npm run dev
npm run build
npm start
http://localhost:5000/api-docs
- ๐ค Passenger creates an account
- ๐๏ธ Rider creates an account
- ๐ฆ Passenger creates a package delivery request
- ๐ Rider accepts package delivery
- ๐ Rider confirms pickup
- ๐ Rider marks delivery as completed
- โ Recipient confirms package receipt
npm test
npm run test:coverage
๐ License This project is licensed under the MIT License - see the LICENSE file for details.
๐ Contact For any inquiries, please reach out to:
Email: niyokwizerwafabrice250@gmail.com Linkedin: NIYOKWIZERWA Fabrice Website:https://niyokwizerwa-fabrice.vercel.app