Node js Backend ssytem Leetcode API
This Project uses Express http server to build simple api's to get started with backend development with Nodejs.
This is an example Express API project that demonstrates user authentication, question submission, and submission management.
Endpoint: POST /signup Description: Allows a user to sign up by providing an email and password.
Endpoint: POST /login Description: Allows a user to log in by providing their email and password.
Endpoint: GET /submissions
Description: Retrieves the user's submissions for a specific problem statement.
Endpoint: POST /submissions
Description: Allows a user to submit a problem solution, with solution being randomly accepted or rejected.
##Questions Endpoint: GET /questions
Description: Retrieves a list of questions.
Description: Allows an admin to add a new question.
Getting Started Clone the repository. Install the dependencies using npm install. Start the server using npm start. The API will be available at http://localhost:3002.
Import the postman collection.
go through the index.js code
start testing, debugging your first api.