Coder Social home page Coder Social logo

fengweijp / forest-express-sequelize Goto Github PK

View Code? Open in Web Editor NEW

This project forked from forestadmin/forest-express-sequelize

0.0 2.0 0.0 141 KB

🌱 Official Express/Sequelize Liana for Forest

License: GNU General Public License v3.0

Shell 1.07% JavaScript 98.93%

forest-express-sequelize's Introduction

Forest Express/Sequelize Liana

The official Express/Sequelize liana for Forest.
Forest is a modern admin interface (see the live demo) that works on all major web frameworks. forest-express-sequelize is the NPM package that makes Forest admin work on any Express/Sequelize application.

Installation

Visit Forest's website, enter your email and click "Get started".
You will then follow a 4-step process:

  1. Choose your stack (Express/Sequelize)
  2. Install Forest Liana
# Install the NPM package
npm install forest-express-sequelize --save
// Add the following code to your app.js file:
app.use(require('forest-express-sequelize').init({
  modelsDir: __dirname + '/models', // Your models directory.
  envSecret: process.env.FOREST_ENV_SECRET,
  authSecret: process.env.FOREST_AUTH_SECRET,
  sequelize: require('./models').sequelize // The Sequelize database connection.
}));
# Setup Forest environment variables and do not version them
FOREST_ENV_SECRET=FOREST-ENV-SECRET # This secret is provided by Forest during the project creation
FOREST_AUTH_KEY=FOREST-AUTH-SECRET # Choose a secure auth secret and keep it in a safe place
  1. Get your app running, provide your application URL and check if you have successfully installed the Forest Liana on your app.
  2. Choose your credentials, log into https://app.forestadmin.com and start customizing your admin interface! πŸŽ‰

NOTE: If you’re stuck, can’t get something working or need some help, feel free to contact the Forest team at [email protected]

How it works

Installing forest-express-sequelize into your app will automatically generate an admin REST API for your app.
This API allows the Forest admin UI to communicate with your app and operate on your data.
Note that data from your app will never reach Forest's servers. Only your UI configuration is saved.
As this NPM package is open-source, you're free to extend the admin REST API for any operation specific to your app.

Integrations

One core concept of Forest is to bring all your data back into one single admin interface. Forest integrates with the 3rd party services / SaaS you already use and allow you to manage all your operations from one place.

Check out our documentation about integrations: http://doc.forestadmin.com/developers-guide/#integrations

Documentation

Complete documentation is available at http://doc.forestadmin.com/developers-guide

How to contribute

This liana is officially maintained by Forest.
We're always happy to get contributions for other fellow lumberjacks.
All contributions will be reviewed by Forest's team before being merged into master.

Install JSHint for the Git hooks: npm install jshint -g

Here is the contribution workflow:

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

Licence

GPL v3

forest-express-sequelize's People

Contributors

seyz avatar arnaudbesnier avatar frisk avatar

Watchers

James Cloos avatar  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.