Code Monkey home page Code Monkey logo

classroom's Introduction

Classsroom

project for DBMS course Students only

This is an example of RESTful CRUD in Node.js n mySQL.

Installation

Clone or download zip to your machine then hit this :

cd classroom

then

npm install

Configuration (database)

server.js

    host: 'localhost',
    user: 'root',
    password : 'root',
    port : 3000, //port mysql
    database:'classroom'

You're gonna need to create a DB named 'classroom' or whatever you name it, import classroom.sql

Install Sourcetree / Github / Git Bash for code management.

Download and Install Node Js (https://nodejs.org/en/download/). To check if node installed successfully, run "node -v" in cmd. If successful, version is displayed

Download and Install Atom/ Submlime Text Editor (Suggested)

Fork and Clone the repository. For this new repository.

In command prompt, cd to master (.git) directory -> run "npm install" (this will take 30-50sec)

Open MYSQL workbench -> "Data Import/ Restore" -> "Import from Self-contained File" -> Choose dump sql file (<RepoName>.sql) -> Click on "New..." -> Name it -> "Start Import".

Make sure host, Name, password, and database are entered correctly according to your system configuration. You may correct it in \server.js file line no. 23.

Run "npm start" in cmd. Now your port is listening for API calls at 3000.

Open your Browser

And type: localhost:3000/

classroom's People

Contributors

harsha-miryala avatar sanjuprk avatar madheysia avatar msharsha555 avatar mangalutsav 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.