Skip to content

varomnrg/StudyTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StudyTrack

This API is a tool to help students organize their studies. It is a REST API built with Node.js, Hapi.js, and PostgreSQL. It uses JWT for authentication and authorization. It is a work in progress and is not yet ready for production. This APi is used for college project.

Documentation

Documentation

Features

  • Profile
  • Notes
  • Agenda
  • Tasks
  • Authentications

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

General

HOST

PORT

Postgres Database

PGUSER

PGPASSWORD

PGDATABASE

PGHOST

PGPORT

JWT Config

ACCESS_TOKEN_KEY

ACCESS_TOKEN_AGE

REFRESH_TOKEN_KEY

Installation

Install with npm

  npm install

Then put this in the package.json script

{
    "start-prod": "node ./src/index.js",
    "start-dev": "nodemon ./src/index.js",
    "migrate": "node-pg-migrate",
    "test": "npx jest"
}

Deployment

Development

  npm run start-dev

Production

  npm run start-prod

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors