An app to make you move! Written in Next.js with Prisma ORM
- Next.js
- Typescript
- Prisma
- Jest
- Testing Library
- styled-components
- next-auth
- storybook
- nookies
You need to install Node.js and Yarn first, then in order to clone the project via HTTPS, run this command:
git clone https://github.com/r3nanp/sellapi.git
SSH URLs provide access to a Git repository via SSH, a secure protocol. If you use a SSH key registered in your Github account, clone the project using this command:
git clone [email protected]:r3nanp/sellapi.git
Install dependencies
yarn install
Or
npm install
Create your enviroment variables based on the examples of .env.example
cp .env.example .env
After copying the examples, make sure to fill the variables with new values.
Setup a database
Install Postgres to create a database or if you have Docker in your machine, fill the environment values related to database configurations and then run the following commands in order to create a Postgres container.
docker-compose up -d
Run the transactions in order to configure the database schema
yarn migrate:run
Run the following command in order to start the application in a development environment:
yarn dev
Made by Renan Pereira
Give a βοΈ!