Skip to content

imashok02/eth-backend

Repository files navigation

Eth backend

DApp for interacting with Smart contracts using Typescript/Node.js. Currently supporting auction API

## Description

Nest framework TypeScript starter repository.

Configuration

unzip secrets_example folder

- Copy all 2 files and the config folder to the root of the project.
- Rename config/database.json.example to config/database.json
- Rename database.env.example to database.env
- Rename env.example to .env

1. Make sure .env and database.env is in the root of the project. - Used for secrets for app and database
2. Make sure you have config folder in the root and there is a json file inside that named database.json
   - Used for Database migrations. This project used sequelize_migrations 

Keys Example

1. When running the app using docker compose, DO NOT change DB_HOST in config/database.json, since app runs via docker needs it to be postgres.
2. Also DO NOT change the value of host in production object in config/database.json, 

Running the project

# development
$ docker compose up

# To make sure every dependencies are currently installed, Please run ;)
$ docker-compose up && docker-compose build --no-cache && docker-compose up

Stay in touch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published