Skip to content

dappalachia/app.co

 
 

Repository files navigation

app.co

Website

The website is a next.js application. To begin, install the required dependencies:

yarn

To run the development server:

yarn dev

To build for production:

yarn build

Database Setup

We use the sequelize package for ORM and database connection. To setup the database, make sure you have PostgreSQL installed and run:

yarn db:create

Then to run migrations:

yarn db:migrate

To seed your database with a bunch of app data, first create the file .env in the root of this project, add the contents of the App.co .env file from 1Password.

Then, run:

node scripts/import-spreadsheet.js

Running tests

Make sure you have created a test database (you only need to run this once):

NODE_ENV=test yarn db:create

Then, run tests:

yarn test

Or, to automatically watch and re-run tests:

yarn test-watch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%