Coder Social home page Coder Social logo

reactwp's Introduction

Reactwp This my training project.

It's a web software for creating and changing web sites. You can add pages, create custom posts, create fields for posts. And change it.

Tech

Reactwp uses a number of open source projects to work properly:

  • React.js - A JavaScript library for building user interfaces
  • knex.js - "batteries included" SQL query builder
  • objection.js - An SQL-friendly ORM for Node.js
  • node.js - evented I/O for the backend
  • Express - fast node.js network app framework [@tjholowaychuk]
  • ant.design - @3.x A design system with values of Nature and Determinacy for better user experience of enterprise applications
  • jwt - JSON Web Tokens

Installation

Reactwp requires Node.js v10 to run.

Install the dependencies and devDependencies and start the front-end.

$ cd reactwp
$ cd reactwp-fe
$ npm i
$ npm start

Create a database and create a first records

  1. Start you mysql server
  2. Create a new database named reactwp
  3.  $ cd reactwp-be
     $ touch knexfile.js
  4. add code below in file, replacing the user and password to the database
module.exports = {
    development: {
        client: 'mysql',
        connection: {
            host: 'localhost',
            database: 'reactwp',
            user: 'root',
            password: 'root'
        },
        migrations: {
            directory: 'src/migrations'
        },
        seeds: {
            directory: 'src/seeds'
        }
    },
};

Install the dependencies, devDependencies, and start the back-end.

$ cd reactwp
$ cd reactwp-be
$ npm i
$ knex migrate:latest
$ knex seed:run
$ npm run dev

reactwp's People

Contributors

dependabot[bot] avatar syxou avatar

Watchers

 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.