Robosocial is a minimal social media application for sharing images, following your friends and having some fun.
- Upload Images: Share your moments with your friends.
- Follow and Engage with your friends: Keep in touch with your friends by liking, commenting and engaging with their posts.
- Explore: Explore and find new friends.
- React.js: Frontend development
- Node.js and Express.js: Backend developement
- Firebase: Utilized for file storage and frontend deployment
- Vercel: Backend deployment
To run this project locally, follow these steps:
- Node.js installed
- Firebase account for file storage setup
- Postgresql database
-
Clone the repository.
git clone https://github.com/therealrinku/robosocial.git
-
Install the dependencies on both client and backend folders respectively.
yarn install
-
Get your firebase app config and add to firebase.js file in client folder
-
Get your postgresql db setup and connection string(I got it from elephantSQL.com) and add it to .env file(name is DB_URL) in backend folder.
-
Run the backend/database/createTables.js script in the backend/database directory for creating the required database tables(posts, users, notifications and comments)
node createTables.js
-
Run the backend from backend folder
node server.js
-
Run the frontend.
yarn start