Alexius08 / dpaths-api

Nest.js application providing REST API for the corresponding Ionic/Angular PWA

Home Page:https://distilled-paths.herokuapp.com/api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Distilled Paths API

code style: prettier

Distilled Paths is a Nest.js application providing REST API for the corresponding Ionic/Angular PWA. It's hooked to PostgreSQL database for data persistence via TypeORM.

Quick Start

  1. npm install
  2. npm run start:dev1

1 You will need to add .env file with necessary environment variables to the root folder when working with the app locally

Project Structure

Obfuscated Environment Variables

You need to create a .env file with the main environment variables required to run this project before starting to work with it:

DB_TYPE=DataBaseType
DB_HOST=DataBaseHostAddress
DB_PORT=DataBasePort
DB_USERNAME=DataBaseUserName
DB_PASSWORD=DataBasePassword
DB_DATABASE=DataBaseName
DP_JWT_SECRET_KEY=YourJwtSecretKeyString
DP_JWT_EXP=JwtExpirationPerion
DP_ADMIN_CODE=AdminSignUpSecretCodeString

Documentation

Swagger API documentation is available under https://.../api

Deployment

The master branch of this respository is automatically deployed to Heroku where it's hosted along with the connected PostgreSQL database. The admin panel is available at https://dashboard.heroku.com/apps/distilled-paths.

Contributing

Thank you for your interest in contributing to Distilled Paths! There are many ways to contribute to this project. Get started here.

About

Nest.js application providing REST API for the corresponding Ionic/Angular PWA

https://distilled-paths.herokuapp.com/api

License:MIT License


Languages

Language:TypeScript 98.6%Language:JavaScript 1.4%