Skip to content

M-ZubairAhmed/automation-dashboard

 
 

Repository files navigation

Automation Dashboard

Install dependencies

yarn

Set up a Postgres database

yarn db:start

Configure environment variables

Copy the .env.local.example file in this directory to .env.local (this will be ignored by Git):

cp .env.local.example .env.local

Set the PG_URI variable in .env.local to the connection uri of your postgres database. Set other environment variables related to JWT and allowed user/role. May change in the future once authentication is setup.

Apply migrations

You can create, apply and rollback migrations using the scripts in package.json.

yarn migrate:latest

Start Next.js in development mode

yarn dev

Your app should now be up and running on http://localhost:4000!

Deploy your own

Deploy with Vercel

Deploy it to the cloud with Vercel (Documentation).

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.0%
  • JavaScript 5.9%
  • CSS 3.1%