mohole / learn-expressjs

Learning Express.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

learn-express.js

Simple REST API server written for learning purpose.

Install & setup

  1. Clone the repo and install the dependencies:
$ git clone https://github.com/mohole/learn-expressjs
$ cd learn-expressjs
$ npm install
  1. Create an .env file in the project root by copying the .env.example or running the command (bash only):
$ cp .env.example .env
  1. Create a MySQL databse called expressjs (or use a different name if you want to modify the .env file) and import the movies_db.sql file in the root of the project.

  2. Start the Database server

  3. Start the project in development mode with:

$ npm run dev
  1. Open the browser at http://localhost:3004 .

License

MIT

About

Learning Express.js

License:MIT License


Languages

Language:JavaScript 80.6%Language:HTML 16.0%Language:Shell 1.7%Language:CSS 1.7%