Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evillegas92/jobsity-challenge
https://github.com/evillegas92/jobsity-challenge
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/evillegas92/jobsity-challenge
- Owner: evillegas92
- Created: 2019-10-25T23:46:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:20:53.000Z (about 2 years ago)
- Last Synced: 2024-11-06T00:40:52.294Z (3 months ago)
- Language: C#
- Size: 753 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jobsity-Challenge
## Instruction to Run
1. **Create and seed database**: clone or download the repo, optionally change the database name and server at StocksChat/StocksChat.Web/appsettings.json. Then run a command prompt at StocksChat/StocksChat.Web and run ```dotnet ef database update --project ..\StocksChat.Persistence\StocksChat.Persistence.csproj```
2. **Run web project**: If you opened the solution is Visual Studio, simply set as Startup project the StocksChat.Web project and hit run. Otherwise, browse to StocksChat/StocksChat.Web in the command prompt and type ```dotnet run```, open a web browser to the specified location.
3. **Login**: You will immediately be asked to log in. To log in as the first user, use [email protected] as username and P@ssw0rd! as password. To log in as the second user, use [email protected] and the same password.
4. **Run the Bot**: In the same way as step 2, run the StocksChat.Bot application. Don't close the command window (leave the application running).
5. **Chat**: Chat between users or with the bot. To invoke the bot simply type /stock=aapl.us or any other stock ticker. After a few seconds the bot will respond with the Open price for that stock for the current day. Messages generated by the bot are not saved to the database.