- Notifications
You must be signed in to change notification settings - Fork2
Next TypeScript Prisma PostgreSQL
License
juancarlosjr97/next-typescript-prisma-postgresql
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project is to demonstrate how to setup a project usingNext.js with TypeScript as a web application with Prisma as the ORM using PostgreSQL v15 as the data source as a Full Stack Web App.
The following services are require for development:
Fork the project and clone your GitHub project
git clone https://github.com/${USER_NAME}/quick-id-verification
Install node and npm version of the project
nvm usenpm install -g npm@${NPM_VERSION}
Install project dependencies
npm ci
Copy
.env
cp .env-local .env
Start the database using Docker
npm run docker
Import migration to Database
npm run prisma:deploy
The command will import the migrations created to the database.
Start the Next app
npm run dev
The app will be running on the port3000
and accessible inhttp://localhost:3000
To run tests is required to have the web app running.
Run unit and E2E tests
npm runtest
Run coverage check
npm run test:coverage:check
The app has a predefined Codespaces configuration available at.devcontainer/devcontainer.json
as this web app has been developed using Codespaces.
Follow thisguide on how to get started with Codespaces.
The project has been inspired on aPrisma example.
This project is licensed under the MIT License. See theLICENSE file.
About
Next TypeScript Prisma PostgreSQL
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.