*Note: This starting point assumes you have the following tools installed...
- yarn or npm
- docker and docker-compose
- prisma
Clone this repo
Rename the directory...
mv prisma-server-starting-point <project name>
yarn init
This is your opportunity to change the name, description, author, license, etc.
Delete the current .git
directory and initialize a new one...
rm -rf .git && git init
Install dependencies...
yarn
Start a new repository on github.
Be sure to initialize the repository with the appropriate README and LICENSE.
Synchronize the local repository with the newly created remote...
git remote add origin <repository url>
git pull # accept all changes from remote
git push -u origin master
docker-compose up -d
In a different terminal...
prisma deploy
To test out the server execute node index.js
Credit: https://www.prisma.io/docs/get-started/01-setting-up-prisma-new-database-JAVASCRIPT-a002/