Fullstack Challenge 🏅 2021 - Space Flight News

This repo is a challenge by Coodesh. We can view news about space flights that is provided by https://api.spaceflightnewsapi.net/v3/documentation. We can add, edit and delete articles to the database in the front end.

Tech Stack

React, MaterialUI, Styled-components, Unform by Rocketseat, Axios and Yup.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

REACT_APP_API_URL

REACT_APP_API_LOCAL

Run Locally

Clone the project

  git clone https://github.com/fabriciodanioj/coodesh-frontend

Go to the project directory

  cd coodesh-frontend

Install dependencies

  npm install

Start the server

  npm run start

Deployment

To deploy this project you need to build first

  npm run build:prod

This command will builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

Authors

Extra

This is a challenge by Coodesh