Skip to content

vinsrep/osis-api

Contributors Forks Stargazers Issues MIT License


Logo

OSIS Attendance Manager API

Backend API of OSIS Attendance Manager (2024).

Report Bug · Request Feature

Built With

  • Express
  • Node

Installation guide

To install the API on your device, follow the guide below:

  1. In the command prompt or terminal of your choice, clone the project:
git clone https://github.com/vinsrep/osis-api
  1. Go inside the folder
cd osis-api
  1. Install the dependencies
npm install

Setup

To setup the API on your device, follow the guide below:

  1. Copy .env.example and rename it to .env
cp .env.example .env
  1. Generate a new JWT key using Node
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
  1. Copy the token and paste it within .env
JWT_SECRET=paste-the-generated-string-here
  1. Start the server
npm start server

(back to top)

About

Backend API of OSIS Internal Web (2024) using ExpressJS

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages