Starter for back-end and front-end
> cd backend
> yarn install
# or
> npm install
> cp .env.example .env
# for connect to postgresql database
DATABASE_URL="postgresql://postgres:12345@localhost:5432/ats?schema=public"
# google authenticate
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_SECRET=your_google-secret
# facebook authenticate
FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=
# create prisma migration file and create tables in database
> yarn prisma:migrate
# insert seed data to database. users, tags, languages, roles, countries info
> yarn prisma:seed
# app running on port 3000
> yarn dev
Swagger has custom style.
Swagger user: app
Swagger password: secret
> cd frontend
> yarn install
# or
> npm install
# app running on port 3001
> yarn dev
Best regards
Mostafa Gholami