Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ctrlmaniac/withauthexpresso
A template for building expressjs and prisma applications with built-in authentication!
https://github.com/ctrlmaniac/withauthexpresso
Last synced: 1 day ago
JSON representation
A template for building expressjs and prisma applications with built-in authentication!
- Host: GitHub
- URL: https://github.com/ctrlmaniac/withauthexpresso
- Owner: ctrlmaniac
- License: mit
- Created: 2023-10-07T16:33:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-10T12:16:08.000Z (about 1 year ago)
- Last Synced: 2023-10-10T13:46:13.680Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# With Auth Expresso
A template for building expressjs and prisma applications with built-in authentication!
## Commands
- **watch:app**: `npm run watch:server` run the application server.
## Directories explained
- **app** is the main directory where all the code will live. It is also the directory that will live on the server.
- **app/sever** is the server directory where express is developed.
- **app/static** is the directory where all the compiled code from the folder **client** will be deployed. This folder won't be committed to git.
- **app/media** is the directory where all the uploaded files will live. This directory won't be committed to git.## Prisma and the APP Database
Just run `npx prisma migrate deploy` inside the **app/server** directory to init the database.