- Twitter clone full stack project
- Demo URL (Amazon EC2): http://13.52.178.103/
- React.js
- Node.js/Express.js
- PostgreSQL
Clone the repo:
git clone https://github.com/jsunga/Tweeper.git- Navigate to root repo and run the following command to download all dependencies Express:
npm install- Navigate to the /client and run the following command to download all dependencies for React:
npm install- Navigate back to the root repo and create a new file .env
- Set up the .env file with correct variables (username, password, port, database_name)
LOCAL_DATABASE_URL=postgres://username:password@localhost:port/database_name
BACKEND_URL=http://localhost:5000/api
SESSION_SECRET=CATKEYBOARD- Migrate the database using Sequelize:
npm run db:migrate- Run backend API in development by running the following command from root repo:
npm run start:dev- Open a new terminal and navigate to /client and run the following command to run React
npm start






