Giter Site home page Giter Site logo

company-api's Introduction

Company Application

REST APIs

  1. GET - to display Employee list.
  2. GET - to show project list in Drop Down option of Add Employee.
  3. POST - to save New Employee data -> Name, Email, Phone and Project Title.
  4. POST - to save New Project data -> Project title and Key.

Technology Stack

  1. NodeJS
  2. Express
  3. MongoDB
  4. BootStrap
  5. Mongoose library

Project Structure

  1. server.js file to initialize the project (starts server).
  2. routes folder representing all the API routes.
  3. controllers folder includes the backend logic for Employee and Project, handling the functionality.
  4. models folder has Schema and Model defined for Employee and Project.
  5. index.html includes the front-end, designing and calls JS scripts for dynamic manipulation.
  6. app.js includes all the AJAX calls, integrating the HTML part with the APIs on the backend.
  7. .env hidden file that includes the DATABASE_URL for connecting to MongoDB using Mongoose.

company-api's People

Contributors

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