Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Node.js Project (Backend)

Installation

  1. Clone this repository.
  2. Install dependencies using npm install.
  3. Create the necessary components:

AWS S3 bucket,SNS topic, Cloudfront and Google auth

  1. Set the environment variables:

AWS config

AWS_SECRET_ACCESS_KEY=""
AWS_REGION=""
S3_BUCKET_NAME=""
SNS_TOPIC_ARN=
CLOUDFRONT_DOMAIN_NAME=
CLOUDFRONT_PRIVATE_KEY_PATH=
CLOUDFRONT_PUBLIC_KEY_ID=

Admin auth config

adminEmail=""
adminPassword=""
jwtSecretKey=""

Google auth config for users(students and professors)

clientID = ""
clientSecret = ""
secret = ""

Usage

  • Run the project with npm start.
  • Access the API at http://localhost:5000/.