Skip to content

khush021/react-app-mahabharath

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with Create React App

This project was bootstrapped with Create React App.

mahabharath

A React Web-app, which includes details of all characters, of one of the greatest इतिहास

Contribute:

Add character here

{
  "name": "Name_of_character",
  "img": "character_image_link",
  "relations": [
    {
      "name": "Name_of_character",
      "relation": "Relation with main character"
    },
    {
      "name": "Name_of_character",
      "relation": "Relation with main character"
    }
  ],
  "view": true,
  "gender":"male" || "female"
}

Add description about the character here

{
  "name": "Name_of_character",
  "description": "A Little bit about the character"
}

Must append the required filter here (A MUST 'IF PRESENT')

{
  "name": "Name_of_character",
  "rename": "Name followed by wikipedia page of character"
}

Add any other functionalities by creating new file.

Add photos in "public\images"

To run locally:

  • clone the repository.
  • npm init to download the node dependencies.
  • create a '.env.local' file and edit as
REACT_APP_MAHABHARATH_API: localhost URL of express server
Other API keys used for connecting firestore.
  • cd server
  • npm start (to start server)

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

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! See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation. To learn React, check out the React documentation.

About

A React Web-app, which includes details of all characters, of one of the greatest इतिहास

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 82.5%
  • SCSS 14.9%
  • HTML 2.6%