Giter Club home page Giter Club logo

mean-with-deno's Introduction

title Author Tags
MEAN Stack template application
Agon Gashi (agonxgashi)
MEAN Stack application template

MEAN-template

A simple (MongoDB, Express, Angular, Node) application template that works.

This simple template is meant to be used as a starting point for your next super-big MEAN Aplication. It is very easy to run and the comments should make every line of code I've written understandable (if not, feel free to propose changes ๐Ÿ˜‰). It uses a minimum number of npm packages that are crucial to make the application work. Used packages are described below.

Downloaded from npm

  • express: Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
  • mongoose: Mongoose provides a straight-forward, schema-based solution to model your application data. It includes built-in type casting, validation, query building, business logic hooks and more, out of the box.
  • path: The path module provides utilities for working with file and directory paths.

Folder structure

  • /src: Angular app created using angular/cli.
  • /repo: Contains mongoose Schemas
  • /server: Files to be used on server-side
    • /routes: Declared routes to be imported on index.js
  • /license: Feel free to use. Repo comes with MIT license ๐Ÿ˜Ž
  • /index.js: File that is used to start the node server

Usage

  • Prerequisites
    • Node.js & npm: Please be sure you have installed Node.js and npm module on your computer before running the application
    • MongoDB: Download & Install MongoDB, and make sure it's running on the default port (27017).
    • AngularCLI: Is used to build front-end application.
  • Be sure you have started MongoDB service before running the application
  • Navigate on project folder
  • Run ng build to generate Angular necessary files. Output files are by default created on /dist subfolder
  • Now run node index.js This is the last step and if everything goes right, the server will start listening for requests
  • You can open your browser and navigate to localhost:3000 to see if the application works

Feel free to fork this repo or contact me on Telegram

mean-with-deno's People

Contributors

lambtron 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.