Coder Social home page Coder Social logo

adonis-fullstack-app's Introduction

Adonis fullstack application

This is the fullstack boilerplate for AdonisJs, it comes pre-configured with.

  1. Bodyparser
  2. Session
  3. Authentication
  4. Web security middleware
  5. CORS
  6. Edge template engine
  7. Lucid ORM
  8. Migrations and seeds

Setup

Use the adonis command to install the blueprint

adonis new yardstick

or manually clone the repo and then run npm install.

Migrations

Run the following command to run startup migrations.

adonis migration:run

adonis-fullstack-app's People

Contributors

abijeet avatar alanaasmaa avatar ammezie avatar dongido001 avatar grafikart avatar jofrysutanto avatar keoh avatar kevmt avatar mraypold avatar mrpetrocket avatar mtamadon avatar mzanggl avatar romainlanz avatar stephenafamo avatar thetutlage avatar thomastilkema avatar vincevannoort avatar willvincent avatar wxs77577 avatar zanechua avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adonis-fullstack-app's Issues

NoTimestamp trait throws error

Was the newly added NoTimestamp trait tested? It throws an error when I try to use it:

TypeError: Property description must be an object: c
at Function.defineProperties (<anonymous>)

This is due to incorrect syntax, Object.defineProperties accepts two parameters, not three.

Object.defineProperties(Model, 'createdAtColumn', {
      get () { return null }
    })

I suspect this was intended to be Object.defineProperty() which would accept that syntax.

To use Object.defineProperties, the second prop must be an object of properties. This would be the correct syntax:

    Object.defineProperties(Model, {
      createdAtColumn: {
        get: () => null,
      },
      updatedAtColumn: {
        get: () => null,
      },
    })

Middleware socket needn't wait next()?

Dear,
I created a middleware

'use strict'

class CustomMiddleware {
  // for HTTP
  async handle (ctx, next) {
   // no call next() function()
  }

  // for WebSocket
  async wsHandle (ctx, next) {
   // no call next() function
  }
}

module.exports = CustomMiddleware

When I use this middleware for http request, the request never go to my controller because I don't call the next() function on handle(). But the socket request doesn't same, it still go to my controller. Is it a bug, or what am I doing wrong?

I using adonisjs 4.1. my node version is 10.x

How do I convert ES6 codes to ES5?

Hello!

Me again! :D

When writing ES6 codes, how can we convert them to ES5 code?
I searched, but I didn't get a proper result.

Thanks!

Could you add a **mongo** branch?

I've create a boilerplate of mongodb, and people can use it via

adonis new --blueprint=adonisjs/adonis-fullstack-app --branch=mongo yardstick

I want to make it easier, could you add a mongo branch so that I can push it?`

And then, people can use it via

adonis new --branch=mongo yardstick`

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.

Since we did not receive a CI status on the greenkeeper/initial branch, we assume that you still need to configure it.

If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/.

We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

Once you have installed CI on this repository, you’ll need to re-trigger Greenkeeper’s initial Pull Request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper integration’s white list on Github. You'll find this list on your repo or organiszation’s settings page, under Installed GitHub Apps.

.edge support on phpstorm/intellij idea

Hi! I'm new to adonisJs. I know that this is not an issue directly related to this repo. It would be very useful to develop a phpstorm .edge file support.

Incorrect URL to routing guide.

I've just started to work with Adonis, and found this. Will submit a PR to fix this.

| http://adonisjs.com/guides/routing

I also wanted to say thanks for spending the time on this framework. It looks very well maintained. If I end up working with the framework, will contribute in whatever I can.

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.