Created a Pinterest-style resource wall using RESTful conventions and HTTP routing. The front end was built with jQuery, Javascript, Flexbox, CSS, and Ajax while the back end included Node.js, Express, and Knex. The database used was PostgreSQL and the server side rendering was done through a EJS view engine.
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Run migrations:
npm run knex migrate:latest
- Check the migrations folder to see what gets created in the DB
- Run the seed:
npm run knex seed:run
- Check the seeds file to see what gets seeded in the DB
- Run the server:
npm run local
- Visit
http://localhost:8080/
- Node 5.10.x or above
- NPM 3.8.x or above