This is an event booking and reservation platform that deals with the sales of tickets for an event website developed by Bolarinwa
- Clone the repo to your local machine using your terminal or command prompt, and afterwards, navigate into the root folder
$ cd Tikeets- Install necessary dependencies for the project to run successfully
$ npm install- After installing, you can now start the server
$ npm start
Listening on port 3000point your browser to localhost:3000
Various API's were tested for the development of this project
- Login API - POST /signup
- Registration API -POST /login
- Current user - GET /currentuser
- Logout - POST /logout
- Admin route to create a new event API : POST /events
- Get all upcoming event API : GET /events
- Buy/reserve a ticket for an event API : POST /event/ticket
- Cancel ticket reservation API : PATCH /events/ticket/:ticketId
- Admin route to update an event API : PATCH /events/:eventId
- Admin route to delete an event API : POST /events/:eventId
- Get all user’s reserved tickets for events API : GET /user/tickets
- Admin route to get all user’s reserved tickets API : GET /:userId/tickets
To see the test written for these api, run this command in your command line
npm testThe test is targeted at the ./test/setup/** folder
The library
@bolarin/commonwas developed and deployed by Odutusin Moses Bolarinwa and was written with Typescript
- Auth
- Event
- Ticket
- Visit us at Tikeets
- email - odutusinmoses@gmail
- password -bolarin
- thebolarin 🤓