Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sofyasher/planets
https://github.com/sofyasher/planets
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sofyasher/planets
- Owner: sofyasher
- Created: 2023-09-04T16:56:36.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-08T21:00:31.000Z (about 1 year ago)
- Last Synced: 2023-09-08T21:29:23.592Z (about 1 year ago)
- Language: TypeScript
- Size: 553 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Star Wars Planets
## Running
For running the app locally do the following steps:
1. Make sure, you have installed [Node JS + npm](https://nodejs.org/en/download) and [Yarn](https://classic.yarnpkg.com/lang/en/docs/install) first.
2. In the project directory run `yarn` to install dependencies.
3. In the project directory run `yarn start`.
4. Open `http://localhost:3000/` in your browser.## Deployment
1. Make sure, you have installed [Node JS + npm](https://nodejs.org/en/download) and [Yarn](https://classic.yarnpkg.com/lang/en/docs/install) first.
2. In the project directory run `yarn` to install dependencies.
3. In the project directory run `yarn build`.
4. Copy the content of `/build` folder and upload it to your hosting.
You will probably need to copy the `/.htaccess` configuration to your hosting for correct routing too.## Testing
1. In the project directory run `yarn test`.
2. To see the generated code coverage report, go to the folder `/coverage/lcov-report` and open `index.html` in your browserYou can try the app on https://planets.sherstneva.cz.