GithubHelp home page GithubHelp logo

konstantine-v / amber-library-webapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 175 KB

Webapp that allows users to create libraries, share details, and create reviews on books they've read. Written using the Amber Crystal Framework

Dockerfile 0.62% Crystal 78.97% JavaScript 17.32% TSQL 2.71% CSS 0.37%
crystal crystal-lang amber-framework amber books

amber-library-webapp's Introduction

New Reads

Amber Framework

Update

This project is archived, please refer to the GitLab repository for the most up-to-date version.

Info

This is a webapp written in Crystal and powered by the Amber Framework. This webapp acts as a library where users store their books and can write notes + reviews about said books.

Getting Started

These instructions will get a copy of this project running on your machine for development and testing purposes.

Please see deployment for notes on deploying the project in production.

Prerequisites

This project requires Crystal (installation guide).

Development

To start your Amber server:

  1. Install dependencies with shards install
  2. Build executables with shards build
  3. Create and migrate your database with bin/amber db create migrate. Also see creating the database.
  4. Start Amber server with bin/amber watch

Now you can visit http://localhost:3000/ from your browser.

Getting an error message you need help decoding? Check the Amber troubleshooting guide, post a tagged message on Stack Overflow, or visit Amber on Gitter.

Using Docker? Please check Amber Docker guides.

Tests

To run the test suite:

crystal spec

Contributing

  1. Fork it ( https://github.com/materialfuture/amber-library-webapp/fork )
  2. Create your feature branch ( git checkout -b my-new-feature )
  3. Commit your changes ( git commit -am 'Add some feature' )
  4. Push to the branch ( git push origin my-new-feature )
  5. Create a new Pull Request

Contributors

TODO

  • Add more validation routes like /book/new
  • Add roles to users via a roles table and foreign key assignment
  • Further integrate relation of books to users and so forth

amber-library-webapp's People

Contributors

dependabot[bot] avatar konstantine-v avatar

Watchers

 avatar  avatar

amber-library-webapp's Issues

Specs/Tests Should Be Updated

The specs are behind where the app is. This may deter people trying this app out.

For each new route created also create a spec. Simple, easy, and overall good practice. You think I would know better at this point since I have spec tests written for my other Crystal apps?

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.