https://github.com/bramirez96/deno-server-ss
A place to store my Deno server as I develop it
https://github.com/bramirez96/deno-server-ss
Last synced: about 2 months ago
JSON representation
A place to store my Deno server as I develop it
- Host: GitHub
- URL: https://github.com/bramirez96/deno-server-ss
- Owner: bramirez96
- Created: 2021-01-10T01:56:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-11T18:36:05.000Z (over 4 years ago)
- Last Synced: 2025-02-08T17:41:35.950Z (4 months ago)
- Language: TypeScript
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Story Squad Rest API
This is a refactor of the existing Story Squad API built in Deno.
## Database Setup
Make sure you have Docker installed on your machine, and then run `docker-compose up -d`.
Your databse container should be set up. If there are any error on composition, you'll need to change ports listed in your Docker configuration files, or you can figure out what on your machine is being hosted on ports 5900, 5932, and 5950.
To log in to PGAdmin, open [http://localhost:5950](http://localhost:5950) in your browser. Open the `Servers` group. You should see a server called `SS_Deno-BE`. When you attempt to open the server, it will ask you for a password. The password should be defaulted to `docker` unless you've changed any Docker ENV vars.
## Database Migrations
Currently, we're using Knex to run our database migrations through Yarn.
```bash
# new migration
yarn make# new seed file
yarn makeseed# run migrations
yarn latest# roll back migrations
yarn rollback# run seeds
yarn seed
```