A very basic Pinterest Clone in React + Redux.
This is a personal project and serves as a testing ground for any and all technologies I want to try out.
In order to get started make sure you have Node > 5 installed. Node 6 is breaking some dependencies so make sure the node version is below node 6. You will also need to have PostgreSQL installed on your local machine.
To get started complete the following steps:
- Execute the following command to install dependencies:
npm install
- Rename the .env.template file to .env and fill in the necessary info that is empty. You may need to obtain your own api keys for cloudinary.
- Start a PostgreSQL server at port 5432 (this is the default port for PostgreSQL)
- Create a database in PostgreSQL named pint
- Navigate to '/server/database' in the project folder and execute the following command:
psql pint -f tables.sql
NOTE: This will file will create the necessary tables required for this app to work. You can also use this command to clear out any and all data you may have in those tables.
- To start the app in development mode execute the following command and browse to http://localhost:3000 to view the app:
npm run dev
- To minify, uglify, lint and build the app for deployment run the following command:
npm start