https://github.com/dennohpeter/ecommerce
https://github.com/dennohpeter/ecommerce
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dennohpeter/ecommerce
- Owner: dennohpeter
- Created: 2024-10-21T00:38:21.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-19T00:09:26.000Z (6 months ago)
- Last Synced: 2025-03-09T08:42:35.655Z (3 months ago)
- Language: TypeScript
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Ecommerce
#### Install dependencies
```bash
yarn
```#### Setup Database
```bash
yarn db:setup
```#### Create a new migration
```bash
yarn migrate create# Example
yarn migrate create create-users-table# Example
yarn migrate create create-products-table
```#### Make migrations
```bash
yarn migrate up
```#### Rollback migrations
```bash
yarn migrate down
```#### Create a new seed
```bash
yarn seed create
```#### Run seeds
```bash
yarn db:seed
```#### Run the server
```bash
yarn start
```#### Run the server in development mode
```bash
yarn dev
```