All Projects → svenstaro → Rust Web Boilerplate

svenstaro / Rust Web Boilerplate

Licence: mit
Rust web template for modern web backend applications

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Rust Web Boilerplate

Go Api Boilerplate
Go Server/API boilerplate using best practices DDD CQRS ES gRPC
Stars: ✭ 373 (+76.78%)
Mutual labels:  best-practices, boilerplate
React Cool Starter
😎 🐣 A starter boilerplate for a universal web app with the best development experience and a focus on performance and best practices.
Stars: ✭ 1,083 (+413.27%)
Mutual labels:  best-practices, boilerplate
Superplate
Performance-oriented frontend application creator with popular tools.
Stars: ✭ 368 (+74.41%)
Mutual labels:  best-practices, boilerplate
Vite Electron Builder
Electron app boilerplate based on Vite. TypeScript + Vue/React/Angular/Svelte/Vanilla
Stars: ✭ 96 (-54.5%)
Mutual labels:  best-practices, boilerplate
React Redux Boilerplate Example
Stars: ✭ 15 (-92.89%)
Mutual labels:  best-practices, boilerplate
Golang Gin Realworld Example App
Exemplary real world application built with Golang + Gin
Stars: ✭ 1,780 (+743.6%)
Mutual labels:  best-practices, boilerplate
Vuesion
Vuesion is a boilerplate that helps product teams build faster than ever with fewer headaches and modern best practices across engineering & design.
Stars: ✭ 2,510 (+1089.57%)
Mutual labels:  best-practices
Firefly
Web app boilerplate for beginners based on Firebase and React 🔥
Stars: ✭ 204 (-3.32%)
Mutual labels:  boilerplate
Rails Devise Graphql
A Rails 6 boilerplate to create your next Saas product. Preloaded with graphQL, devise, JWT, CanCanCan, RailsAdmin, Rubocop, Rspec, i18n and more.
Stars: ✭ 199 (-5.69%)
Mutual labels:  boilerplate
Learning Cmake
learning cmake
Stars: ✭ 2,524 (+1096.21%)
Mutual labels:  best-practices
Mern Boilerplate
MERN stack project boilerplate
Stars: ✭ 211 (+0%)
Mutual labels:  boilerplate
React Expressjs
Simple and compact boilerplate for ReactJS project with expressJS
Stars: ✭ 208 (-1.42%)
Mutual labels:  boilerplate
Electron Vue
An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
Stars: ✭ 14,610 (+6824.17%)
Mutual labels:  boilerplate
Saas
Build your own SaaS business with SaaS boilerplate. Productive stack: React, Material-UI, Next, MobX, WebSockets, Express, Node, Mongoose, MongoDB. Written with TypeScript.
Stars: ✭ 2,720 (+1189.1%)
Mutual labels:  boilerplate
React Cordova Boilerplate
TodoMVC example for react with development tools to build a cordova application
Stars: ✭ 206 (-2.37%)
Mutual labels:  boilerplate
Express Graphql Boilerplate
Express GraphQL API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 201 (-4.74%)
Mutual labels:  boilerplate
Javascript Todo List Tutorial
✅ A step-by-step complete beginner example/tutorial for building a Todo List App (TodoMVC) from scratch in JavaScript following Test Driven Development (TDD) best practice. 🌱
Stars: ✭ 212 (+0.47%)
Mutual labels:  best-practices
Koa Vue Notes Web
🤓 This is a simple SPA built using Koa as the backend, Vue as the first frontend, and React as the second frontend. Features MySQL integration, user authentication, CRUD note actions, and Vuex store modules.
Stars: ✭ 200 (-5.21%)
Mutual labels:  boilerplate
Pysanity
Opinionated coding guidelines and best practices in Python
Stars: ✭ 205 (-2.84%)
Mutual labels:  best-practices
Create Aio App
The boilerplate for aiohttp. Quick setup for your asynchronous web service.
Stars: ✭ 207 (-1.9%)
Mutual labels:  boilerplate

Rust Web Boilerplate

Build Status codecov lines of code license

About

This is a boilerplate project made using best practices for getting started quickly in a new project. I made this for myself but maybe it will help someone else. Pull requests and discussions on best practices welcome!

Development setup

Install a few external dependencies and make sure ~/.cargo/bin is in your $PATH:

cargo install diesel_cli
cargo install cargo-watch

Optionally if you want line coverage from your tests, install cargo-tarpaulin:

cargo-tarpaulin

Copy .env.example to .env and update your application environment in this file.

Make sure you have a working local postgres setup. Your current user should be admin in your development postgres installation and it should use the "peer" or "trust" auth methods (see pg_hba.conf).

Now you can launch the watch.sh script which helps you quickly iterate. It will remove and recreate the DB and run the migrations and then the tests on all code changes.

./watch.sh

To get line coverage, do

cargo tarpaulin --ignore-tests
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].