https://github.com/sonalys/poc-messenger-react
https://github.com/sonalys/poc-messenger-react
interview-test reactjs
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sonalys/poc-messenger-react
- Owner: sonalys
- Created: 2021-08-28T03:02:16.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-31T15:28:35.000Z (almost 4 years ago)
- Last Synced: 2025-02-21T11:50:21.430Z (4 months ago)
- Topics: interview-test, reactjs
- Language: TypeScript
- Homepage:
- Size: 918 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to run
- First you need to get pipenv up and running to be able to run the server locally, there are plenty
of documentation online on how to do that depending on your operating system, but here is one:https://pipenv-es.readthedocs.io/es/stable/#install-pipenv-today
- Next, you should install the server dependencies:
```
pipenv install
```- Finally, you spin up the server with:
```
pipenv run python server.py
```- Now install the dependencies of the react UI. You would need both NodeJS and NPM to be installed,
there is plenty of documentation on how to do that online. From inside the `interface` directory, run:```
npm install
```- You can run the UI temporary server with:
```
npm start
```- There you go! Just open a browser and go to `https://localhost:3000`
## Running the tests
You can run the tests with:
```
pipenv run nosetests -v --with-coverage --cover-package=api_server --cover-erase --cover-branches
```