Code Monkey home page Code Monkey logo

connekt's Introduction

Connekt App

Setup

You need to install all the necessary dependencies for the project. You may wish to install globally

sudo npm install react create-react-app
sudo apt-get install mysql-server
sudo npm install express --save
sudo npm update

choose the password: connekt for the mysql database

Run database

to login to the database, run (use previous password to login)

mysql -u root -p

create a database of name connekt.

create database connekt;

in the db folder (connekt/react-backend/db/), run the following to start up the mysql database

node connect.js

back in the mysql, run the following to select which database you are using

use connekt;

To check that the database is running, install postman and update the database with an entry, e.g. POST: 'localhost:3000/user/create?firstname=John&lastname=Smith&email=[email protected]&password=passwd1'. you can check the entry in the database by going into mysql and running,

select * from users;

Setup local server

To start a local server, run the following command in the the front folder (connekt/react-backend/).

npm start

You can view this on on localhost:3000 in a browser.

connekt's People

Contributors

stemmr avatar alexmontgomerie avatar surajtirupati avatar

Watchers

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