GithubHelp home page GithubHelp logo

rifanid98 / eureka-educate Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 424 KB

Ini adalah REST API berbasis JSON dengan back-end PHP/NodeJS untuk aplikasi edukasi.

License: MIT License

TypeScript 87.55% JavaScript 12.45%

eureka-educate's Introduction

eureka-educate is a simple api endpoint for education application built with Node.js, Express Js as a framework of Node.js. Which has features.

๐Ÿ“ Table Of Content

Prerequisites

  • NPM or Yarn as package manager.
  • Node.js installed on the local machine
  • PostgreSQL intalled on the local machine

Installation

  1. Clone this repository: git clone https://github.com/rifanid98/eureka-educate

  2. Start PostgreSQL

  3. Create eureka_educate database

  4. Database configuration: Create .env file, and insert this env variables to .env file

    • DB_HOST_LOCAL=localhost
    • DB_USER_LOCAL=postgres
    • DB_PASS_LOCAL=postgres
    • DB_NAME_LOCAL=eureka_educate
    • DB_PORT_LOCAL=5432
    • Type and run this command npm run migrate or yarn migrate to start the database migration.
  5. Run the Unit Test to ensure that programs can run well

    • Type and run this command npm run test or yarn test to start the unit test.
  6. Start the server:

    • Open root project folder with command line (terminal, linux. cmd, windows. etc.)
    • Type and run this command npm install or yarn install to install required dependencies.
    • Type and run this command npm run tsc or yarn tsc to compile typescript code into compiled javascript code.
    • Type and run this command npm run dev or yarn dev to start the server.
    • Make sure there are no other processes that use port 5000
  7. Run app with api testing tools like postman, etc. on http://localhost:5000/eureka-educate/

Features

  • Migration
  • CRUD
  • CORS allowed
  • Unit Test

Documentation

Built with

Author

License

This project is licensed under the MIT License - see the LICENSE file for details

Thanks to Daniel Saputra for the readme layout.

eureka-educate's People

Contributors

rifanid98 avatar

Watchers

 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.