This repository contains the front-end of Social Media Application, built on top of React.JS.
In order to properly run the application, you should first configurate the back-end services.
Its highly recommended to use Yarn as the package manager once this application was bootstraped by create-react-app.
Having the back-end properly setted, follow this steps:
- Navigate to the repository root folder using your terminal/command line tool
- Open it using your text editor, create the .env file in root folder and set the environment variables as explained in .env.example
- Back to your terminal run the command to install all dependencies needed for this project: Type yarn
- Run the script to create the production build: Type yarn build
- If you don't have serve installed, install it globaly running: yarn add -g server
- Run the script to start the production application: Type serve -s build
- Done. You can now use the application hosted on the url provided by server. Normally http://localhost:5000
I have deployed this fullstack application and you can access it via this link:
https://gp-social-app.herokuapp.com/