All Projects → drminnaar → noteworx-react-mongodb

drminnaar / noteworx-react-mongodb

Licence: other
A basic note application that uses React frontend to capture and manage notes, an api written in ExpressJS, and mongodb to store notes

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to noteworx-react-mongodb

there-are-lots-of-people-in-Baiyun-airport
挑战杯 - 广州白云机场人流量时空分布预测系统 - 前端
Stars: ✭ 14 (-80%)
Mutual labels:  bootstrap4, axios
Spala
Spala (SPA LARAVEL): a modern lightweight CMS for Laravel and Vue developers (open source project).
Stars: ✭ 91 (+30%)
Mutual labels:  bootstrap4, axios
reactjs-login-register-crud
ReactJS CRUD Application, ReactJS FileUpload, ReactJS Sample application, ReactJS Boilerplate, ReactJS Login, ReactJS FileUpload, ReactJS Register
Stars: ✭ 47 (-32.86%)
Mutual labels:  bootstrap4, axios
React Bootstrap Webpack Starter
ReactJS 16.4 + new React Context API +react Router 4 + webpack 4 + babel 7+ hot Reload + Bootstrap 4 + styled-components
Stars: ✭ 103 (+47.14%)
Mutual labels:  bootstrap4, axios
Flask Vuejs Madblog
基于 Flask 和 Vue.js 前后端分离的微型博客项目,支持多用户、Markdown文章(喜欢/收藏文章)、粉丝关注、用户评论(点赞)、动态通知、站内私信、黑名单、邮件支持、管理后台、权限管理、RQ任务队列、Elasticsearch全文搜索、Linux VPS部署、Docker容器部署等
Stars: ✭ 541 (+672.86%)
Mutual labels:  bootstrap4, axios
Laravel Vue Spa
SPA Boilerplate made with Laravel 5.6, Vue 2, Bootstrap 4, Vue-router 3, Vuex 3, Axios
Stars: ✭ 172 (+145.71%)
Mutual labels:  bootstrap4, axios
bs-breakpoints
A plugin which detect Bootstrap 4 breakpoints and emit when there is a change
Stars: ✭ 22 (-68.57%)
Mutual labels:  bootstrap4
bootstrap-css-interview-questions
Bootstrap-CSS Interview Questions
Stars: ✭ 55 (-21.43%)
Mutual labels:  bootstrap4
ostora-jsapi4
Responsive template for building web mapping applications
Stars: ✭ 20 (-71.43%)
Mutual labels:  bootstrap4
Vue2.0-music
vue2.0全家桶撸的在线音乐播放器1.0
Stars: ✭ 35 (-50%)
Mutual labels:  axios
vue-methods-promise
Let Vue methods support return Promise
Stars: ✭ 35 (-50%)
Mutual labels:  axios
cra-template-react-template
🤘 My bootstrap template to use in react
Stars: ✭ 15 (-78.57%)
Mutual labels:  axios
react-tools-for-better-angular-apps
Use React ecosystem for unified and top notch DX for angular developement
Stars: ✭ 30 (-57.14%)
Mutual labels:  axios
startbootstrap-full
A full page image background Bootstrap HTML template created by Start Bootstrap
Stars: ✭ 54 (-22.86%)
Mutual labels:  bootstrap4
api
Simple data loading for React
Stars: ✭ 35 (-50%)
Mutual labels:  axios
vue-iview-admin-template
Vue 2.0 admin template based on View UI
Stars: ✭ 43 (-38.57%)
Mutual labels:  axios
eixample
Multi-Tenant .NET 6 Architecture (Angular, Vue, React)
Stars: ✭ 61 (-12.86%)
Mutual labels:  bootstrap4
website
The sustainoss.org website
Stars: ✭ 23 (-67.14%)
Mutual labels:  bootstrap4
visualize-dna-sequences
Visualizing DNA Sequences via Javascript
Stars: ✭ 51 (-27.14%)
Mutual labels:  bootstrap4
shopify-bootstrap-theme
Our Free Shopify Theme focused on simplicity, speed, and user experience. Download it today and finish your Shopify store within days, not months. Powered by Bootstrap v5 framework and 15+ years of coding experience.
Stars: ✭ 45 (-35.71%)
Mutual labels:  bootstrap4

NoteWorx README

A basic note application that uses a ReactJS frontend to capture and manage notes, an api written in ExpressJS, and MongoDB to store notes.

Features

  • Add a note
  • Edit a note
  • Remove a note
  • List all notes
  • Find note by title

High Level Design

noteworx-react-mongodb

Screenshots

noteworx-react-mongodb-1

noteworx-react-mongodb-2

noteworx-react-mongodb-3

noteworx-react-mongodb-4

noteworx-react-mongodb-5

noteworx-react-mongodb-6


Developed With

  • NodeJS - Javascript runtime
  • MongoDB - NoSQL database
  • Docker - Used to host MongoDB instance (Not manadatory. See other options below)
  • ExpressJS - A web application framework for Node.js
  • ReactJS - Javascript library for building user interfaces
  • Bootstrap v4.0.0-beta.2 - Build responsive, mobile-first projects
  • Webpack - Javascript module bundler

Related Projects

  • noteworx-cli-fs

    A basic note application that uses a CLI (Command Line Interface) frontend to capture and manage notes, and a file system to store notes

  • noteworx-cli-mongodb

    A basic note application that uses a CLI (Command Line Interface) frontend to capture and manage notes, and mongodb to store notes

  • noteworx-cli-mongoose

    A basic note application that uses a CLI (Command Line Interface) frontend to capture and manage notes, Mongoose ODM to manage MongoDB interaction, and mongodb to store notes

  • noteworx-cli-couchbase

    A basic note application that uses a CLI (Command Line Interface) frontend to capture and manage notes, and couchbase as a data store

  • noteworx-cli-express-mongodb

    A basic note application that uses a CLI (Command Line Interface) frontend to capture and manage notes, an express note management API built using Express, and Mongodb to store notes

  • noteworx-expressui-mongodb

    A basic note application that uses an Express frontend to capture and manage notes, and mongodb to store notes


Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

The following software is required to be installed on your system:

  • NodeJS

    The following version of Node and Npm are required:

    • Node 8.x
    • Npm 3.x

    Type the following commands in the terminal to verify your node and npm versions

    node -v
    npm -v
  • MongoDB

    MongoDB 3.x is required

    Type the following command to verify that MongoDB is running on your local machine

    mongo -version

    See alternative MongoDB options below

MongoDB Setup

A running instance of MongoDB is required. Alternatively use a hosted MongoDB from MongoDB Atlas or MLab

One of the 3 options below is recommended to get up and running with MongoDB:

  • Install and host locally
  • Install and host in Docker
  • Register for third party MongoDB hosting
    • Register for and use MongoDB Atlas (Database As A Service)
    • Register for and use MLab (Database As A Service)

Install and Host MongoDB Locally

Installing MongoDB is relatively straight forward. There are currently 3 platform (Windows, Linux, OSX) releases available and can be found here

For more specific installation instructions, please see the following links:

Install And Host Using Docker

Run MongoDB Using Named Volume

To run a new MongoDB container, execute the following command from the CLI:

docker run --rm --name mongo-dev -p 127.0.0.1:27017:27017 -v mongo-dev-db:/data/db -d mongo
CLI Command Description
--rm remove container when stopped
--name mongo-dev give container a custom name
-p map host port to container port
-v mongo-dev-db/data/db map the container volume 'data/db' to a custom name 'mongo-dev-db'
-d mongo run mongo container as a daemon in the background
Run MongoDB Using Bind Mount
cd
mkdir -p mongodb/data/db
docker run --rm --name mongo-dev -p 127.0.0.1:27017:27017 -v ~/mongodb/data/db:/data/db -d mongo
CLI Command Description
--rm remove container when stopped
--name mongo-dev give container a custom name
-p map host port to container port
-v ~/mongodb/data/db/data/db map the container volume 'data/db' to a bind mount '~/mongodb/data/db'
-d mongo run mongo container as a daemon in the background

Third Party Hosting

MongoDB Atlas

MongoDB Atlas is basically a database as a service and is hosted in the cloud. That means that you don't need to install or setup anything to start using MongoDB.

You can get started for free by registering here. The free tier entitles you to 512MB storage.

Please review the documentation here

MLab

MLab also provides MongoDB cloud hosting in the form of database as a service. Once again there is no installation or setup required.

To get started, signup for free account here. The free tier entitles you to 500MB storage.

Please review the documentation here

Install

Follow the following steps to get development environment running.

  1. Clone 'noteworx-react-mongodb' repository from GitHub

    git clone https://github.com/drminnaar/noteworx-react-mongodb.git

    or using ssh

    git clone [email protected]:drminnaar/noteworx-react-mongodb.git
  2. Install node modules

    cd noteworx-react-mongodb
    npm install

Build

There are 2 build options:

  • Build

    npm run build
  • Build with watch enabled

    npm run build:watch

Run ESlint

  • Lint project using ESLint

    npm run lint
  • Lint project using ESLint, and autofix

    npm run lint:fix

Run API Server

All the API (server) code is found in the 'Server' folder.

Before running the React application, the API needs to be started.

The following command wil start server and host api at http://localhost:8000/api

npm run serve:api

Run React App

  • Run Dev Server

    Start React usinf React dev server

    npm run serve:dev

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

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