Skip to content

Create RestAPI with ExpressJS, MongoDB, Mongoose and EJS for view admin dashboard.

Notifications You must be signed in to change notification settings

sanengineer/expressjs-ejs-mongodb

Repository files navigation

Build Backend Stack CRUD with NodeJS, MongoDB and Mongoose

This project use ExpressJS 🚀 (NodeJS framework), EJS for admin dashboard, MongoDB and Mongoose (ODM For NodeJS).

ER Diagram For 🌱 MongoDB

Entity Diagram MongoDB

Feature

Dashboard View

Dashboard View With EJS

CRUD Method

  • For GET All data for table user_game_biodata and user_game_history with showed on terminal (shell) json

2 RestAPI endpoint, for admin dashboard and Frontend

Flow Chart Backend ReSTAPI EJS end Front-End

⚙️ Prequisite

  • Node Version 12.18.4 LTS (Recomended)
  • MongoDB

List Package Node Modules On Production

  • Body Parser
  • EJS
  • Express
  • Method Override
  • Mongoose

List Package Node Moduels On Development

  • Dotenv
  • Nodemon

Getting Started On Development

    $ cd expressjs-ejs-mongodb

    $ npm install

    $ touch .env

Configuring .env file, example:

DATABASE_URL="mongodb://localhost:27017"

    $ npm run dev

About

Create RestAPI with ExpressJS, MongoDB, Mongoose and EJS for view admin dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published