Skip to content

Ecell-NITS/e-cell-website-22-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-cell Website API

A brief description of what this project does and who it's for

Run Locally

Clone the project

  git clone https://github.com/Ecell-NITS/e-cell-website-22-api.git

Go to the project directory

  cd e-cell-website-22-api

Install dependencies

  pnpm i

Start the development server

  pnpm dev

API Reference

Home route

  GET /

Description: create account of the user

Response:

    Welcome to E-Cell website Backend API. Developed by E-Cell Tech Team.

Signup route

  POST /signup

Description: create account of the user

Parameter Type Description
name string Required. Full name
email string Required. Email for account creation
password string Required. A password that you can remember

Login route

  POST /signup

Description: login to user account

Parameter Type Description
email string Required. Email for account creation
password string Required. A password that you can remember

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

EMAIL_ECELL=Email address for sending mails

EMAIL_PWD_ECELL=password for email service

MONGODBSECRET=mongodb+srv://username:[email protected]/db_name

NODE_VERSION= v18.x

YOUR_SECRET_KEY=A strong secret key for user authentication

About

REST API of the official website of E-Cell NIT Silchar

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •