Giter VIP home page Giter VIP logo

simpleblog's Introduction

Simple Blog RMT

A simple blog for small notice

Build Status

And a blog for small news structured with

  • NodeJS

  • Express

  • Msql

  • Features

  • Create and edit categories for posts

  • Create and edit articles

  • Login for access to section-based administrator route

  • Index with pagination of articles

Made from the NodeJS Training Course taught by Professor Victor Lima on the udemy platform

my goal is to show what i learned while i was learning how to use request routes and responses with nodeJS i learned to use hash session upload server use template engine and much more that can be proven in the project

Tech

Simple Blog uses a number of open source projects to work properly:

  • Express - Fast, unopinionated, minimalist web framework
  • ejs - Embedded JavaScript templates
  • body-parser - Node.js body parsing middleware
  • mysql2 - Fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS
  • node.js - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
  • sequelize - Multi dialect ORM for Node.JS
  • slugfy - Convert string to slug
  • express-session - Simple session middleware for Express
  • bcryptjs - Optimized bcrypt in JavaScript with zero dependencies

Installation

Simple Blog requires Node.js v10+ to run.

  • open the folder database / database.js file and change the file variables to suit your mysql environment
  • go to the localhost:3000/admin/users/create
  • to create a user who will have access to the admin route.
  • localhost:3000/admin/articles
  • localhost:3000/admin/categories Install the dependencies and devDependencies and start the server.
cd simpleblog
npm i
node index.js

Plugins

The simple blog is currently extended with the following plugins Instructions on how to use them in your own application are at the link below.

Plugin README
TinyMCE https://www.tiny.cloud/docs/

Captura de Tela 2021-03-07 às 11 46 55

Captura de Tela 2021-03-07 às 11 49 01

Captura de Tela 2021-03-07 às 11 49 13

Captura de Tela 2021-03-07 às 11 49 43

simpleblog's People

Watchers

Richardson Schawarski Cruz 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.