Code Monkey home page Code Monkey logo

admin-server's Introduction

admin-server

An basic framework with server(egg.js) and front page(vue.js & ant design vue). You can easily use it by following the set up bellow.

And after you run it, this will be an out of the box project.

Development

Install dependencies in Admin & Server. Then run

cd Admin
npm run serve

cd Server
npm run dev

it will start to serve in localhost:8080.

Lint

./lint.sh in root directory is used to lint all code in Admin & Server. You can run it before commit.

Deploy

It depends on how you want to use this project. You might need to make some modify on Server files.

Normally, when you don't have any nginx or other reverse proxy running before the egg.js Server. then just build the front page in Admin by running

npm run build

then the dist directory will be created.

Deploy all files to your server and then run start in Server.

npm run start

then you will be able to visit your page on your server machine through port 80, by using your own domain which refer to your server machine or an public IP address.

admin-server's People

Contributors

yzhengaq 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.