Skip to content

Latest commit

 

History

History

Backend

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Express Server API URLs:

General:
[GET]
        • /
        • /*

Logs:
[GET]
        • /api/v1/logger
        • /api/v1/branchdata
        • /api/v1/yeardata
        • /api/v1/alluser
        • /api/v1/eventsdata
[POST]
        • /api/v1/updateuser/:id

Authentication:
[GET]
        • /api/v1/dummy
        • /api/v1/dashboard
        • /api/v1/dashboardtry
[POST]
        • /api/v1/register
        • /api/v1/login
        • /api/v1/verify
        • /api/v1/dummy
        • /api/v1/tokenforreset
        • /api/v1/setNewPassword/:token

Events:
[GET]
        • /api/v1/events
        • /api/v1/:id
[POST]
        • /api/v1/add
        • /api/v1/registerevent:id
        • /api/v1/announceall
[PUT]
        • /api/v1/update/:id
[DELETE]
        • /api/v1/delete

First time?

Add .env file and write:

PORT = 4000
MONGODB_URL = mongodb://localhost:27017/AECCC
SECRET = Hello@Welcome to AECCC./,
MAIL_HOST = 'smtp.gmail.com'
MAIL_USER = <create yourself or ask Souvik>
MAIL_PASS = <create yourself or ask Souvik>