Skip to content

dessHub/swahilibox-api

Repository files navigation

SHAWILIBOX PLATFORM

Endpoints

Mobile Client

  1. GET /auth/login
  2. POST /auth/login
  3. GET /auth/signup
  4. POST /auth/signup
  5. GET /api/events
  6. GET /api/event:id
  7. POST /api/rsvp

Admin

  1. GET /admin/
  2. GET /admin/events
  3. GET /admin/event:id
  4. GET /admin/event/update:id
  5. POST /admin/event/update
  6. GET /admin/event/remove:id
  7. GET /admin/tickets/event:id
  8. GET /admin/users

Dependencies include:

  • MongoDB
  • Express JS
  • NODE JS
  • Babel-cli

Installation

Clone the repository and install dependencies with npm install:

 git clone https://github.com/dessHub/swahilibox-api.git
 npm install

Set Up

Copy .env-example to .env file and update with your your variables

Starting the server

  npm start

This would convert es6 features to es5 and start the server

Contribution

If there is any issue create issue . And if your want to contribute fork, update and create a pull request.