Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tristanmatthias/honesto-code-test
Feedback app for a code test I completed
https://github.com/tristanmatthias/honesto-code-test
Last synced: about 2 months ago
JSON representation
Feedback app for a code test I completed
- Host: GitHub
- URL: https://github.com/tristanmatthias/honesto-code-test
- Owner: tristanMatthias
- Created: 2019-01-28T02:30:27.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T03:26:51.000Z (about 2 years ago)
- Last Synced: 2024-05-07T12:00:51.338Z (8 months ago)
- Language: TypeScript
- Homepage: https://honesto-test.herokuapp.com/
- Size: 1.02 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Honesto - Code Test completed mid 2018
Repository for [http://honesto-test.herokuapp.com](http://honesto-test.herokuapp.com)
This project is a code test for a company I applied for mid 2018. The app is built with Typescript, React, Webpack and Origami as an API platform.
## Requirements
- Node.js
- Yarn
- A Mongo database## Installation & Setup
### Libraries
This project is built with Node.js and Yarn
```sh
yarn
```### Database
A mongo database is necessary for this app to run.
Once you have the credentials, edit the `.origami` file:```json
{
...
"store": {
"type": "mongodb",
"host": "localhost",
"port": 27017,
"database": "YOUR-DATABASE",
"username": "LOCAL-DB-USER",
"password": "LOCAL-DB-PASSWORD"
}
...
```
}**Alternatively**, you can create a `.env` file that will override the `.origami` file settings:
#### .env file (DON'T COMMIT)
```do
origami_store_type="mongodb"
origami_store_host="localhost"
origami_store_port=27017
origami_store_database="YOUR-DATABASE"
origami_store_username="LOCAL-DB-USER"
origami_store_password="LOCAL-DB-PASSWORD"
```### Social Login
For the login oauth to work, the Client ID and Client Secret will need to be configured:#### .env file (DON'T COMMIT)
```do
...
origami_plugins_social-login_google_clientID="YOUR-GOOGLE-CLIENT-ID"
origami_plugins_social-login_google_clientSecret="YOUR-GOOGLE-CLIENT-SECRET"
```## Developing
All client app files are located under `src/app/`. The development server with file watching can be run with```sh
yarn dev
```## Building
A production build can be created by running
```
yarn build
```