Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sinsoku/rust_web
Web app for personal study
https://github.com/sinsoku/rust_web
Last synced: about 1 month ago
JSON representation
Web app for personal study
- Host: GitHub
- URL: https://github.com/sinsoku/rust_web
- Owner: sinsoku
- Created: 2019-10-27T17:01:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-30T17:08:01.000Z (about 5 years ago)
- Last Synced: 2023-03-11T01:53:23.566Z (almost 2 years ago)
- Language: Rust
- Homepage:
- Size: 53.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![CircleCI](https://circleci.com/gh/sinsoku/rust_web.svg?style=svg&circle-token=f2d7ec9fce88998e3c6b551184ef8c4ab2b7ab8d)](https://circleci.com/gh/sinsoku/rust_web)
# Web App with Rust
## Setup
This app uses [diesel](https://diesel.rs/), so you need to install it.
```console
$ cargo install diesel_cli --no-default-features --features sqlite
$ export DATABASE_URL=development.sqlite3
$ diesel setup
```## Run application
You can launch the app by `cargo run`.
```console
$ cargo run
```Then browsing http://localhost:8088, you see "Hello, world!"