Corona worldwide statistics
1. First of all you need to clone Covid repository from github:
git clone https://github.com/ibotchori/coronatime.git
2. Next step requires install all the dependencies.
npm install
We use environment variables heavily in our projects. It allows us to have personalized configurations, but it also makes it easy to deploy our projects without having to store sensitive values in our codebase.
In the root of project you find example env file looks like this:
REACT_APP_BASE_URL=https://your-url/api
Create your .env file in the root of project and copy everything from .env.example to your .env, in your terminal type:
cp .env.example .env
After you copy everything in your env file, replace dummy urls with your own
3. After installing all dependencies and env setup you can start project
npm start
├─── public # readme assets
├─── locales # global languages
├─── src # project source codes
├─── assets # project images and fonts
├─── components # reusable components
-index.js # export default component
├─── helpers
├─── schema # form validations
├─── pages # react navigation screens
-index.js # export default screen
- App.tsx # main file
- i18nts # global languages configuration
- index.css
- index.tx
- .env.example # env example
- .gitignore
- .eslintrc.json # eslint config file
- .prettierrc.js # prettier config file
- package-lock.json # dependency manager configurations
- package.json # dependency manager configurations
- postcss.config.js # tailwind css configuration
- README.md # readme file
- tailwind.config.js # tailwind css configuration
- tsconfig.json # typescript configuration
npm run build creates a build directory with a production build of your app. Set up your favorite HTTP server so that a visitor to your site is served index.html, and requests to static paths like /static/js/main.