THE COMPLETE USERS & ADMIN API ENDPOINTS.
The previous article can be found here: KITENGE
- REGISTER USER — A user can register as (user/ vendor).
- LOGIN — A user can log in.
- ALL USERS — Get all users in the DB.
- CURRENT USER — Get a single user from the DB.
- RESET PASSWORD — A user can set a new password.
- FORGOT PASSWORD — A user can request to reset there password.
- UPDATE USER — Update user information(name & email).
- UPDATE PASSWORD — Update user password
- LOG OUT — A user can logout
2. ADMIN — Performs all CRUD concerning users.
- GET SINGLE USER — She can fetch a single user from the DB
- GET ALL USERS — She can fetch all users from the DB
- CREATE A USER — She can create a single user and add to the DB
- UPDATE USER — She can update a single user in the DB
- DELETE USER — She can delete a single user from the DB
The next step is to create the Kiosk(s) logic and get a domain name. If you have other ideas that will guide me in building this project, please feel free to DM me on twitter or comment below.