https://github.com/bramirez96/express-ts-practice
https://github.com/bramirez96/express-ts-practice
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bramirez96/express-ts-practice
- Owner: bramirez96
- Created: 2020-12-03T02:45:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-04T01:31:10.000Z (over 4 years ago)
- Last Synced: 2025-02-08T17:41:35.871Z (4 months ago)
- Language: TypeScript
- Size: 118 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node TS Test Repo
## DB Initialization
To run the application, you need databases set up. I prefer running local Docker containers, as it comes with PGAdmin, giving you access to and control over the data in the database.
Regardless of the method you use, make sure that the `DB_URL` in your `.env` file is pointing to the database you create.
### Docker
This project includes a `docker-compose` file, so, assuming you have Docker installed on your machine, all you need to get the project up and running is to run the following command:
```bash
docker-compose up -d
```> `up` creates the Docker containers and the `-d` flag allows the newly-created containers to run in the background so they don't take up a terminal
### Other PG Instance
You can also create your own postgres database on your local machine using whatever other program you'd like, or, alternatively, use an online-hosted PG database.