Single page app.
The easiest way to get started is to clone the repository:
# Get the latest snapshot
git clone https://github.com/alirazaalvi/Spa2.git myproject
# Change directory
cd myproject
#install create react app
npm i create-react-app
# Install NPM dependencies
npm install
# Then simply start your app
npm start
# Access the application
http://localhost:3000
# Test
npm test
# Coverage
npm run coverage
# Demo page url
https://alirazaalvi.github.io/Spa2/
Name | Description |
---|---|
src/features/* | Contains components, reducers and actions of each feature. |
src/layout/* | Contains all of the layouts elements including header,footer and navbar. |
src/shared/* | Shared helpers and types. |
.storybook/* | Storybook of controls. |
helpers/* | Utility methods. |
tslint.json | Rules for tslint linter. |
.gitignore | Folder and files ignored by git. |
app.tsx | The main component. |
index.tsx | Entry point of the application. |
package.json | NPM dependencies. |
package-lock.json | Locked versions of NPM dependencies. |