lovanto / simple-api-nodejs

Just example template code for create API written in Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Node JS API

A simple backend application that mange article

How to run

  • Install Node.js (Latest version is recommended)
  • Make sure the Mysql Database is installed first, then create database tefa_backend
  • Create database table name article with fields: id(int), title(varchar), subtitle(varchar), content(text), createdAt(datetime) and updatedAt(datetime)
  • Fork the repository
  • Clone to your local repository on your computer
  • Go to the app root directory
  • Copy .env.example and change to .env then populate the enviroment base on your local configuration
  • To donwload dependecies run npm install
  • To start application run npm start

About

Just example template code for create API written in Node.js


Languages

Language:JavaScript 98.7%Language:Shell 1.3%