We had a dream of providing high-quality, cost-effective vision therapy that any patient could access at home. A group of web developers with a background in vision founded Vision Therapy Online like last week. More than 3 days later, we offer world-class products and services that connect patients with their eyecare professionals, as well as extend access to quality healthcare.
To run the app:
- Install
npm
dependencies and create thepsql
database:
npm install
createdb project2_app
- Create a
.env
file with a random cookie secret:
echo SECRET=$(node -e "require('crypto').randomBytes(48, function(ex, buf) { console.log(buf.toString('hex')) });") >> .env
- Run the
knex
migrations and seeds
knex migrate:latest
knex seed:run
- Start the app:
nodemon
To run the tests:
- create test db:
createdb project2_app_test
npm test
The app is hosted on port 3000: http://localhost:3000/