Skip to content

A RESTful API that offers different endpoints to create financial energy products

Notifications You must be signed in to change notification settings

javierdeveloping/energy-nexus-data-restapi

Repository files navigation

Nest Logo

Energy Nexus Data RESTful API

Live Demo

⚠️ App deployed on AWS is using insecure HTTP protocol.

⚠️ HTTP protocol DOES NOT encrypt passwords and they can be intercepted and read by anyone with access to the network traffic.

⚠️ In this application, when entering passwords to create new users or login as an already existing, DO NOT ENTER passwords that could compromise any of your external online services or accounts.

http:51.92.82.16:3001/api

User: user@user.com
Password: Abc123456

User: admin@admin.com
Password: Abc123456
(with admin roles)

Instructions for local setup

1.Clone the project

2.Install dependencies

pnpm install

3.Copy .env.example file and rename it to .env

4.Set up .env file with appropiate environment variables

5.Run postgreSQL database local instance define in docker-compose.yaml

docker-compose up -d

6.Start NestJS server

pnpm run start:dev

7.Execute seed

http://localhost:{{PORT}}/api/seed

8.Ater creating a new user, go to your database and set up admin role for this user. (pending seed or an endpoint to promote users)

9.Enjoy the API in swagger

http://localhost:{{PORT}}/api

About

A RESTful API that offers different endpoints to create financial energy products

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published