Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rohitchourey0809/adaan-assignment
Features User registration and login JWT-based authentication OTP verification using Twilio CRUD operations for user profiles File uploads for profile pictures Prerequisites Node.js (v12 or higher) MongoDB Twilio account
https://github.com/rohitchourey0809/adaan-assignment
chakaraui expressjs reactjs twilio
Last synced: about 1 month ago
JSON representation
Features User registration and login JWT-based authentication OTP verification using Twilio CRUD operations for user profiles File uploads for profile pictures Prerequisites Node.js (v12 or higher) MongoDB Twilio account
- Host: GitHub
- URL: https://github.com/rohitchourey0809/adaan-assignment
- Owner: rohitchourey0809
- Created: 2024-06-22T08:05:05.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-24T19:40:48.000Z (6 months ago)
- Last Synced: 2024-06-25T14:07:09.019Z (6 months ago)
- Topics: chakaraui, expressjs, reactjs, twilio
- Language: JavaScript
- Homepage:
- Size: 764 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Demo Video
[VideoLink Click Here]https://go.screenpal.com/watch/cZ1ZXRV8jq0
Adani Solutions Backend
This repository contains the backend code for the Adani Solutions project. The backend is built with Node.js, Express, and MongoDB. It includes user authentication with JWT and OTP verification using Twilio.Features
User registration and login
JWT-based authentication
OTP verification using Twilio
CRUD operations for user profiles
File uploads for profile pictures
Prerequisites
Node.js (v12 or higher)
MongoDB
Twilio accountGetting Started
Clone the Repository```
git clone https://github.com/rohitchourey0809/Backend-Adaani-Digital```
API Endpoints
## Auth Routes
- POST /api/register: Register a new user
- POST /api/login: Login a user
- POST /api/send-otp: Send OTP to the user's phone number
- POST /api/verify-otp: Verify the OTP## User Routes
- GET /api/user: Get the logged-in user's profile
- PUT /api/user: Update the logged-in user's profile