Back End code for PAT.
Front-End Repo: https://github.com/joonasmkauppinen/pat-project-frontend
- Latest features: https://joonasmkauppinen.github.io/pat-project-frontend/
- "Official" site: https://patapp.github.io
- Clone or download this repository
git clone https://github.com/joonasmkauppinen/pat-project-backend.git
- Install dependencies
npm install
- Set up a Database Server, sql database structure found in file
sql-database-structure.txt
- Rename
.env.txt
to be just.env
- Update the .env file configuration (content)
- Create following folders with sufficent permissions:
- public
- public/img
- public/img/1px
- public/img/thumb
- public/img/usr
- Run
node server.js
- Run command
apidoc -i api/ -o apidoc/
in the project folder - Now API documentation is available in the folder
apidoc/