Skip to content

Gio85/WDI-project2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My-Movies

GA WDI London - Project 2

Brief

This is an example RESTful App with several models being stored in a mongo database.

As a huge movies fan, I decided to create my own collection which contains a list of my favorites movies selected by their directors. The user in addition to visit this app, can also add new movies and new directors based on his preferences.

You can find it here

Featuces

  • Authentication with BCrypt
  • Login redirects to previously viewd page (see controller/sessions.js )
  • User can add movies and directors and favorite movies
  • Users can only modify data they have added themselves
  • Users ca add comments and rating to the movies
  • User's movies populated with a virtual (see models/user.js)
  • Frontend form validation with HTML5 and jQuery Validate Plugin

Run Locally

You will need node and mongodb set up on your local environment.

If you do not have them, I would advise installing them with homebrew (Mac only).

  • Download or clone the Github repo
  • Run yarn install or npm install in the terminal to install all the dependencies
  • Run yarn seed or node db/seeds to seed the database
  • Run node index.js (or simply nodemon if you have nodemon installed) to start the app.

Technologies

To create this project I used the following technologies:

  • HTML5
  • SCSS
  • Bulma
  • JavaScript (ECMAScript 6)
  • jQuery
  • Node.js
  • Express.js
  • EJS
  • MongoDB
  • Mongoose
  • BCrypt
  • Gulp
  • Yarn

Challenges faced

Wins

Future Features

There are few improvements that I would love to add.

  • Improve the code and fixing the bugs.
  • Improve the UI which is not perfect at the moment.
  • Adding an Admin user in order to check and approve movies.

BestMovie

BestMovie

BestMovie

BestMovie

Notes

  • Feel free to create an account and add movies and directors
  • All images and synopsis taken from IMDb, Wikipedia
  • Styled with Bulma

About

RESTful Express App with EJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published