GithubHelp home page GithubHelp logo

zaramme / nim-basolato Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itsumura-h/nim-basolato

0.0 1.0 0.0 914 KB

A fullstack web framework for Nim based on Jester

Shell 0.37% Nim 98.69% HTML 0.36% CSS 0.58%

nim-basolato's Introduction

Basolato Framework


A Fullstack Web Framework for Nim based on Jester

โš ๏ธ This is in development ๐Ÿ˜ฌ๐Ÿ’ฆ

To references

Language Framework
Ruby Rails
PHP Laravel
Python Masonite
Java/Scala Play
Go Revel

Table of Contents

Dependencies

This framework depends on following libralies

  • Jester, Micro web framework.
  • nim-templates, A simple string templating library
  • allographer, Query builder library.
  • flatdb, a small flatfile, inprocess database for nim-lang, as session DB.
  • bcrypt, useful for hashing passwords.
  • nimAES, Advanced Encryption Standard.

Following libralies are another options to create view.

  • Karax, Single page applications for Nim, as view.
  • react.nim, React.js bindings for Nim.
  • react-16.nim, React 16.x bindings for Nim 1.0 with example app (WIP).

Introduction

Install

nimble install https://github.com/itsumura-h/nim-basolato

Set up

First of all, add nim binary path

export PATH=$PATH:~/.nimble/bin

After install basolato, "ducere" command is going to be available.

Create project

cd /your/project/dir
ducere new

project directory will be created!

โ”œโ”€โ”€ app
โ”‚ย ย  โ”œโ”€โ”€ controllers
โ”‚ย ย  โ””โ”€โ”€ models
โ”œโ”€โ”€ config.nims
โ”œโ”€โ”€ main.nim
โ”œโ”€โ”€ middleware
โ”‚ย ย  โ”œโ”€โ”€ custom_headers_middleware.nim
โ”‚ย ย  โ””โ”€โ”€ framework_middleware.nim
โ”œโ”€โ”€ migrations
โ”‚ย ย  โ”œโ”€โ”€ migrate.nim
โ”‚ย ย  โ””โ”€โ”€ migration0001.nim
โ”œโ”€โ”€ public
โ””โ”€โ”€ resources

You can specify project direcotry name

cd /your/project/dir
ducere new project_name
>> create project to /your/project/dir/project_name

run server

ducere serve # hot reload available
 or
nim c -r main

Documents

Dev roadmap

Version Content
v1.0 Support Three-layer architecture (generally called as MVC)
v2.0 Support Clean architecture, Tactical DDD
v3.0 Support GraphQL

nim-basolato's People

Contributors

itsumura-h avatar jiro4989 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.