https://github.com/bestbynature/react-template-js
This is a react template repository for all future react projects using JavaScript.
https://github.com/bestbynature/react-template-js
Last synced: 3 months ago
JSON representation
This is a react template repository for all future react projects using JavaScript.
- Host: GitHub
- URL: https://github.com/bestbynature/react-template-js
- Owner: Bestbynature
- License: mit
- Created: 2023-09-27T04:07:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-27T04:10:00.000Z (over 1 year ago)
- Last Synced: 2025-01-15T14:17:42.811Z (5 months ago)
- Language: JavaScript
- Size: 181 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [set up linters by visiting](https://github.com/microverseinc/linters-config)
# 📗 Table of Contents
- [📗 Table of Contents](#-table-of-contents)
- [📖 React Bookstore](#-React Bookstore-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [🚀 Live Demo ](#-live-demo-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage ](#usage-)
- [Run tests ](#run-tests-)
- [Deployment ](#deployment-)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)# 📖 [React Bookstore](https://react-bookstore-deployment.onrender.com)
**[React Bookstore](https://react-bookstore-deployment.onrender.com)** application is built with react using create-react-app. It essentially displays a list of books and allows users to either add a new book or remove a selected book. Other pages are also accessible with routers.
Client
- HTML
- CSS
- JAVASCRIPT
- React
- **[Linter checks]**
- **[CRA]**
- **[JavaScript APIs]**
- **[CSS grid and flexbox]**
### [React Bookstore Live Demo](https://react-bookstore-deployment.onrender.com)
To get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
- The current version of node
- To have Git installed on your local machine
- Node Package manager (npm)
- An editor such as Visual Studio Code
### Setup
Clone this repository to your desired folder:
- Create your classic access token from github.com
- run "git clone https://{access_token}@github.com/username/{repo_name}.git"
- Update your git identity by running "git config --global user.email "[email protected]""
- Update your name on git by running "git config --global user.name "your_name"
### Install
Install this project by running `npm install`
### To Install Jest
- run npm install --save-dev jest
- add " "test": "jest", "watch": "jest --watch *.js" to the scripts section of package.json"
- run npm install --save-dev @babel/plugin-transform-modules-commonjs
- create a file at the root called .babelrc
- copy `{
"env": {
"test": {
"plugins": ["@babel/plugin-transform-modules-commonjs"]
}
}
}` inside the file
### Usage
To run the project, execute the following command:
```sh
use git bash to open in Vs code
use `npm run dev` to run web dev server
```
To run tests, run the following command:
```sh
Run `npx stylelint "**/*.{css,scss}" --fix` to fix linters
Run `npx eslint "**/*.{js,jsx}" --fix` to fix linters"
```
You can deploy this project using:
- github pages
```sh
- npm run deploy
```
👤 **Damilare Ismaila**
- GitHub: [@githubhandle](https://github.com/Bestbynature)
- Twitter: [@twitterhandle](https://twitter.com/Dammybest)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/damilare-ismaila-4a5a8b30/)
- [ ] **[contact form page for customers]**
- [ ] **[A feature for alternative list of movies]**
- [ ] **[A feature for voting the best item on the list]**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
If you like this project, kindly drop a star for me.
I would like to use this medium to appreciate [Microverse](https://microverse.org) for giving me this type of opportunity.
This project is [MIT](./LICENSE) licensed.