The Wayback Machine - https://web.archive.org/web/20201129165831/https://github.com/Epitech/ops-E-Token-API
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
api
 
 
sql
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

E-Token-API

This code is the property of Epitech.

API for students cards. This API has been released to encourage side projects using students card.


Production

  • npm install
  • Generate a SSL/TLS certificate and edit path in server.js
  • Run: node server.js > server.log 2>&1 &

Development

  • npm install
  • Install MySQL database on local machine and specify environment variables DATABASE_USER, DATABASE_PASSWORD, DATABASE_ADDR, DATABASE_PORT, DATABASE_NAME if necessary.
  • Run: DEBUG=1 PORT=5000 node server.js
  • Server will be available on localhost on port specified using HTTP protocol

Test

  • Execute two first points of Developement step
  • Run: npm test

Production API entry point: https://whatsupdoc.epitech.eu

Note: Database hosted locally on Epitech's infrastructure. The database cannot be accessed publicly, thus making it only accessible through this API.


Contact: mickael.leclerc@epitech.eu

About

Student cards API

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.