a space for mfers
1 mfer token = 1 mferspace profile page
** please excuse the messy styling currently! still a ways to go in that department <3
-
install dependencies:
npm install # or yarn
-
make a copy of
.env.example
named.env
-
assign your postgres database connection string to the
DATABASE_URL
environment variable#inside .env DATABASE_URL=postgresql://postgres:etc...
-
run database setup migration (and optionally seed with test data):
npm run db:up # optional test data npm run db:seed
-
run local development server:
npm run dev
-
check out
localhost:3000
in the browser!
some npm scripts to interface with the database
# migrate the db up
npm run db:up
# migrate the db down
npm run db:down
# seed the db with test data
npm run db:seed
# drop & rebuild the db with seed data in one command
npm run db:reset