Giter VIP home page Giter VIP logo

api-creation's Introduction

API Creation

Description

This project is a RESTful API built using Express.js and MongoDB with Mongoose and using Chart.js for data visualization.

Installation

  1. Clone the repository:
    git clone <repository-url>
  2. Navigate to the project directory:
    cd api-creation
  3. Install dependencies:
    npm install

Usage

  • Start the server:
    nodemon server.js
  • Access the API at http://localhost:3000/api

Testing

  • Run tests:
    npm test

Dependencies

  • chart.js: Quick chart creations for the used data from MongoDB.
  • ejs: Embedded JavaScript templates.
  • express: Web framework for Node.js.
  • mongoose: MongoDB for Node.js.

Development Dependencies

  • @babel/preset-env: A Babel preset for each environment and because Jest didn't want to run it without it.
  • babel-cli: Babel command line.
  • babel-preset-env: Babel preset for compiling JavaScript.
  • @playwright/test: A Node.js library for browser automation and E2E testing.
  • jest: Jest is a framework for testing JavaScript code. Unit testing is the main usage of it.
  • nodemon: Utility that automatically restarts your Node.js server during development.
  • supertest: Using Supertest, we can test endpoints and routes on HTTP servers.

api-creation's People

Contributors

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