All Projects → Swap76 → NodeJS_Mongo_BoilerPlate

Swap76 / NodeJS_Mongo_BoilerPlate

Licence: AGPL-3.0 license
CRUD Blog using NodeJS,Express, MongoDB

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to NodeJS Mongo BoilerPlate

sentry-beaconfire
Kotlin based sentry android application
Stars: ✭ 35 (+94.44%)
Mutual labels:  sentry
thvu-blog
My digital home on the internet.
Stars: ✭ 51 (+183.33%)
Mutual labels:  sentry
django-template
The ultimate Django template: production ready Django 3.2 with Docker, HTTPS and CI/CD using Github actions ‎️‍🔥
Stars: ✭ 20 (+11.11%)
Mutual labels:  sentry
app
Buggregator is a beautiful, lightweight debug server build on Laravel that helps you catch your smpt, sentry, var-dump, monolog, ray outputs. It runs without installation on multiple platforms.
Stars: ✭ 259 (+1338.89%)
Mutual labels:  sentry
sentry-mattermost
Sends Sentry notifications to Mattermost Open Source Chat
Stars: ✭ 30 (+66.67%)
Mutual labels:  sentry
dropwizard-raven
Dropwizard integration for error logging to Sentry.
Stars: ✭ 20 (+11.11%)
Mutual labels:  sentry
micro-sentry
Tiny Sentry client with idiomatic wrapper for Angular
Stars: ✭ 100 (+455.56%)
Mutual labels:  sentry
typescript-nuxtjs-boilerplate
🍱 Nuxt.js with TypeScript and Run with docker and docker-compose 🐶🦄🔥 visit: https://typescript-nuxtjs-boilerplate.netlify.com/example
Stars: ✭ 51 (+183.33%)
Mutual labels:  sentry
django-docker
Toy project. Trying to use Django inside a Docker container for both local development and production deployment.
Stars: ✭ 18 (+0%)
Mutual labels:  sentry
redux-sentry
Middleware that logs all your store and actions on exception to Sentry with raven-js
Stars: ✭ 13 (-27.78%)
Mutual labels:  sentry
sentry-typo3
TYPO3 Sentry integration
Stars: ✭ 17 (-5.56%)
Mutual labels:  sentry
rhythm
Time-based job scheduler for Apache Mesos
Stars: ✭ 30 (+66.67%)
Mutual labels:  sentry
zend-sentry
A Zend Framework 3 module that lets you log to the Sentry.io service.
Stars: ✭ 34 (+88.89%)
Mutual labels:  sentry
docker-compose-sentry
Docker Compose configuration for running a Sentry server.
Stars: ✭ 20 (+11.11%)
Mutual labels:  sentry
sentry-fastlane-plugin
Official fastlane plugin for Sentry
Stars: ✭ 100 (+455.56%)
Mutual labels:  sentry
pink-lady
a template project of gin app.
Stars: ✭ 44 (+144.44%)
Mutual labels:  sentry
sentry-ruby-api
Ruby wrapper for getsentry/Sentry REST API
Stars: ✭ 19 (+5.56%)
Mutual labels:  sentry
sentry-prometheus
Export hosted sentry statsd metrics to prometheus
Stars: ✭ 22 (+22.22%)
Mutual labels:  sentry
Mail
RiiConnect24 Mail Scripts. OSS.
Stars: ✭ 11 (-38.89%)
Mutual labels:  sentry
sentry-android-gradle-plugin
Gradle plugin for Sentry Android. Upload proguard, debug files, and more.
Stars: ✭ 67 (+272.22%)
Mutual labels:  sentry

NodeJS Mongo BoilerPlate

CRUD API using NodeJS, Experss, MongoDB

About

This Repo is for beginners of NodeJS who wants to make a full API service. This repo has a good folder structure. Joi for validation of incoming data. Passport for encrypting passwords.

Prerequisites

Following are the softwares requried to get this api up and running.

Installing

  • Getting the configuration ready
    Copy the .env.example file at the same location and save as .env

    cp .env.example .env
    
  • Create account on MongoDB Atlas and paste the database URL in .env file

  • Create account on Sentry and paste the Sentry DNS into .env file (Only for production to get emails about errors)

  • Install the packages mentioned in package.json file for getting all dependencies of the project.

    npm install --save
    
  • Starting the application

    npm start
    

Getting started with the project with Docker

  • Fork the repository on GitHub.

  • Navigate to the folder of the repository.

  • To run this project, you should have Docker installed on your system. If you don't have Docker, you can visit The official site of Docker to install them on your system.

  • Building the Docker Image for Docker Hub

     docker build -t your_dockerhub_username/your_project_name .
    

    The . specifies that the build context is the current directory.

  • It will take a minute or two to build the image. Once it is complete, check your images:

     docker images
    

    You will see the image listed in the list.

  • Run the following command to build the container:

     docker run -p 5000:5000 <your_dockerhub_username>/<your_project_name>
    

    All requests of port 5000 will be forwarded to port 5000 of container

  • Once your container is up and running, you can inspect a list of your running containers with following command:

     docker ps
    

    You will see the image listed in the list.

  • With your container running, you can now visit your application by navigating your browser to http://your_server_ip. You will see your application landing page once again:

  • For stoping the container you can use following command:

     docker stop <Container_Id>
    

Developers

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].