reSource is a full stack web application built using Node, Express, jQuery, SASS, and PostgreSQL for DBMS.
reSource allows learners to save learning resources like tutorials, blogs and videos in a central place that is publicly available to any user.
- Users can save an external URL along with a title and description
- Users can search for already-saved resources created by any user
- Users can categorize any resource under a topic
- Users can comment on any resource
- Users can rate any resource
- Users can like any resource
- Users can view all their own and all liked resources on one page ("My resources")
- Users can register, log in, and log out.
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
- username:
labber
- password:
labber
- database:
midterm
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Reset database:
npm run db:reset
- Check the db folder to see what gets created and seeded in the SDB
- Run the server:
npm run local
- Note: nodemon is used, so you should not have to restart your server
- Visit
http://localhost:8080/
- Node 10.x or above
- NPM 5.x or above
- PG 6.x
- EJS
- body-parser
- chalk
- cookie-session
- dotenv
- ejs
- express
- moment
- morgan
- node-sass-middleware
- pg
- pg-native
- timeago.js