app/ directory contains the source code of the Mind Expanding Books website
How to setup development environment
Verify Node Install
node -v
npm -v
Install Gatsby CLI
npm install -g gatsby-cli
git clone https://github.com/hackerkid/Mind-Expanding-Books
cd app/
npm install
gatsby develop
Once this is done, the development server should be accessible at http://localhost:8000
High level overview of the website
- The website is made using Gatsby, which is a React based static site generator.
- The website is deployed in Netlify automatically whenever a commit is pushed to GitHub.
- When you create a pull request with changes to the source code, Netlify will automatically create a website for previewing the changes. You can click on "Details" in the "Deploy preview ready!" message in the pull request page for seeing the website.
From where does the website fetches the data of the books?
Website fetches the data of the books from app/src/data/books.json file. See README in utils directory
for details on how this file is generated.