/go-react-mongodb-scaffold

Golang Reactjs with Mongodb scaffold

Primary LanguageJavaScript

* Generated by
* 
*      _____ _          __  __      _     _
*     / ____| |        / _|/ _|    | |   | |
*    | (___ | | ____ _| |_| |_ ___ | | __| | ___ _ __
*     \___ \| |/ / _` |  _|  _/ _ \| |/ _` |/ _ \ '__|
*     ____) |   < (_| | | | || (_) | | (_| |  __/ |
*    |_____/|_|\_\__,_|_| |_| \___/|_|\__,_|\___|_|
*
* The code generator that works in many programming languages
*
*			https://www.skaffolder.com
*
*
* You can generate the code from the command-line
*       https://npmjs.com/package/skaffolder-cli
*
*       npm install -g skaffodler-cli
*
*   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *
*
* To remove this comment please upgrade your plan here: 
*      https://app.skaffolder.com/#!/upgrade
*
* Or get up to 70% discount sharing your unique link:
*       https://app.skaffolder.com/#!/register?friend=5def95f9a4f4b55911b3e201
*
* You will get 10% discount for each one of your friends
* 
   _____ _          __  __      _     _           
  / ____| |        / _|/ _|    | |   | |          
 | (___ | | ____ _| |_| |_ ___ | | __| | ___ _ __ 
  \___ \| |/ / _` |  _|  _/ _ \| |/ _` |/ _ \ '__|
  ____) |   < (_| | | | || (_) | | (_| |  __/ |   
 |_____/|_|\_\__,_|_| |_| \___/|_|\__,_|\___|_| 


   _____       
  / ____|      
 | |  __  ___  
 | | |_ |/ _ \ 
 | |__| | (_) |
  \_____|\___/ 

This project was generated by Skaffolder

For more documentation visit https://skaffolder.com/#/documentation


START APPLICATION


!important To use the application move it in the folder $GOPATH/src/skaffolder/ The default value of $GOPATH is $HOME/go

  • To launch the application, start your MongoDB database and open a terminal in this folder and type:

    $ go get
    $ go run main.go
  • Go to http://localhost:3000

  • To start in autoreload mode run:

    export GOPATH=$HOME/go
    watcher -c config -run skaffolder/Manage_Film_Example

CONFIGURE


Set properties of your database in: Manage_Film_Example.config.toml


USING SKAFFOLDER-CLI


With Skaffolder-CLI you can easily manage your Skaffolder project from command line and customize your generator template from your IDE.

Install Skaffolder-CLI with

$ yarn install -g skaffolder-cli

Login running the command

$ sk login

Generate your project with the command

$ sk generate

You can customize your generator template working with files in .skaffolder folder in your project root.

Please refer to https://skaffolder.com/#/documentation/skaffolder-cli for more information.