Skip to content

atiqbaqi/crud-frontend

Repository files navigation

Front-end client of a CRUD API

This repository is a front-end client built with nodeJS and Ejs a template engine of javascript which consumes a back-end API to perform CRUD operation.

Find the backend API here - https://github.com/atiqbaqi/crud-backend-api

Installation guide

💪🏻 Non-Docker

Required Tools:

  1. You need to install nodejs and its package manager npm.

  2. Clone git repository -

    git clone https://github.com/atiqbaqi/crud-frontend.git
  3. Go to the application folder and open a terminal.

  4. Install the application dependencies with the next command:

    npm install

  5. Execute the next command in the terminal.

    npm start

🐳 Docker

  1. Build image
docker build -t crud-frontend .
  1. create container from image and run
docker run --name crud-frontend --rm -p 8081:8081 crud-frontend

Finally access using the following url: http://localhost:8081

Technologies used

NodeJS Express.js
EJS

Browsers support

Firefox Google Chrome Safari Opera

About

Front-end web app to consume a restful crud api

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published