Tickr: time-sensitive auctions
Go to Facebook's developer page
Create an app that enables 'Facebook Login'
Allow the following OAuth redirect URIS: -http://localhost:3000, http://localhost:3000/signin-facebook, http://localhost:3000/auth/facebook/callback, http://localhost:3000/auth/facebook
-You will need to allow redirects to the URIS in production for deployment as well.
Clone the repo to your local machine.
Use a current version of node (v6.5.0).
Run npm install
in the /app
folder.
Run npm install
in the /server
folder.
CREATE USER ubuntu WITH PASSWORD 'password';
ALTER USER ubuntu WITH SUPERUSER;
CREATE DATABASE tickr;
Install Grunt CLI globally using: npm install -g grunt-cli
.
Development:
grunt dev
grunt start
http://localhost:3000
Production:
/server
folder:grunt prod
/app
folder:grunt build
http://localhost:3000
The development setup should be used on your local machine.
The production setup should be used on your deployed server.
Dependencies: Node (and package.json node modules) Grunt-CLI React Webpack Postgresql Cloudinary Nodemailer Facebook Auth
Getting Started:
/server/app.js
and /server/routes.js
Clone your deployed folder onto the server, and run the production setup to be served on the port of your choice.