Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/namnika/backpack-react-web-app
Developed Backpack react web application in Skyscanner - Front-End Software Engineering virtual Job Simulation on Forage
https://github.com/namnika/backpack-react-web-app
backpack javascript reactjs
Last synced: about 1 month ago
JSON representation
Developed Backpack react web application in Skyscanner - Front-End Software Engineering virtual Job Simulation on Forage
- Host: GitHub
- URL: https://github.com/namnika/backpack-react-web-app
- Owner: Namnika
- Created: 2024-08-06T14:21:21.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T13:37:45.000Z (5 months ago)
- Last Synced: 2024-08-08T14:47:37.103Z (5 months ago)
- Topics: backpack, javascript, reactjs
- Language: JavaScript
- Homepage: https://backpackreact.netlify.app/
- Size: 224 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> _This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app) +
> [backpack-react-scripts](https://github.com/Skyscanner/backpack-react-scripts/tree/master/packages/react-scripts)._
> It is very similar to one that you would create using [Create React App](https://github.com/facebook/create-react-app)
> without [backpack-react-scripts](https://github.com/Skyscanner/backpack-react-scripts/tree/master/packages/react-scripts),
> so please refer to [it's documentation](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md)
> for more usage information.# Backpack React Web App
I build a simple React web-based project with React, Javascript and Backpack in [Skyscanner Front-End Software Engineering Job Simulation](https://www.theforage.com/simulations/skyscanner/front-end-software-engineering-cbwl) in Forage. I learnt how to use Skyscanner's Backpack design system in React application, to simulate the front-end in a easier way.
I worked with backpack's basic web foundation stylesheets, including Synthetic Awesome Stylesheets (SASS) and CSS ClassName Modules.
## How To Run
- `npm start`: Runs the app in development mode. Open [http://localhost:3000/](http://localhost:3000/) to view it in the browser. The page will reload if you make edits.
## How To Test
- `npm test`: Runs the test watcher in an interactive mode. By default, runs tests related to files changes since the last commit.
## How To Buid Project for Production
- `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!
## CSS Modules
All Sass files are by default treated as [CSS Modules](https://github.com/css-modules/css-modules). You can opt out of this behaviour using the following config option:
```
"backpack-react-scripts": {
"cssModules": false
}
```If you decide to opt out, Sass files will not be treated as CSS Modules by default. However, you can opt-in on a per-file basis using the naming convention: `*.module.scss`.
For example, with `cssModules` set to `false`:
- The file `App.scss` will not be treated as CSS Module
- The file `App.module.scss` _will_ be treated as CSS ModuleThis allows you to upgrade your project file by file to CSS Modules.
> Backpack components will _always_ be treated as CSS Modules, even if you opt out