An Web application, which includes details of all characters in one of the greatest इतिहास. Web app is using React as the Frontend and Express and NodeJS for backend.
Further, contents are loaded from Wikipedia and MediaWiki public APIs.
Please follow the following guideline when conributing the project.
- Fork the repository.
- Clone the repository.
- Make the changes that you are wish to do, in a feature branch or in the
main
branch. - Commit and push the changes to remote repository.
- Add a Pull Request to Original (Upstream) repository.
Further, follwings are the ways that you can contribute to the project. Or else please read the issues section for further contributions.
Add characters 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 characters 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"
}
To run project locally:
- 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)
In the project directory, you can run:
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.
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.
You can learn more in the Create React App documentation. To learn React, check out the React documentation.