NG-Joseph / estate-access-control

An API for managing visits to an estate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How To Run

Note: Dollar Signs ($) represent terminal commands

1. Clone Repository

$ git clone https://github.com/NG-Joseph/estate-access-control

2. Navigate Into Repository

$ cd estate-access-control

2. Install dependencies

$ npm install

3. Change Database Connection Settings

In src/app.database.module.ts change the details such as POSTGRES_PASSWORD to your password. Same applies to Port and User if different

Create Database in pgAdmin

Create a database called estate-access-control in pgAdmin

4. Run with this Command

$ npm run start:dev

5. Add /api to the end of URL to view Swagger API documentation

For example localhost:3003/api

6. Test Out API with Client e.g Postman (Optional)

You can create new users in your database from the client.

About

An API for managing visits to an estate.


Languages

Language:TypeScript 98.2%Language:JavaScript 1.8%