Git Product home page Git Product logo

mlblog_distillant's Introduction

Demo located here: http://35.153.156.88:3000/

About the App

This app uses: NextJS, React, Redux,Redux Sagas and Firebase, Firebase the backend entry point is server.js pages/index.js is the front end entry point pages/article is for displaying individual articles but implementation is incomplete.

Server Setup

Installation

in the command line type:

git clone https://github.com/distillant/mlblog_distillant
cd mlblog_distillant
npm install

Set credentials

add your credentials from Firebase to the following two files: credentials/ServerSide.js credentials/clientSide.js

Settings

set the session key secret and session storage path within credentials/ServerSide.js under the session dictionary.

using /settings/settings.json to reconfigure the template. This sets the links on the menu bar, blog title, and such

Testing:

the code uses jest and enzyme for testing frontend code. to run tests type:

npm run test

Debugging

Server Side: see the information at https://nodejs.org/en/docs/inspector/ to choose a node debugger. you can would start the server with "npm run debug" and connect chromes debugger or your tool of choice to with "node --inspect server.js"

Running the App:

in the command line type:

 npm run dev

Deploying to production

to build and use the production version of the server type the follwoing in the command line:

npm run build
npm run start

About the App

This app uses: NextJS, React, Redux,Redux Sagas and Firebase, Firebase the backend entry point is server.js pages/index.js is the front end entry point pages/article is for displaying individual articles but implementation is incomplete.

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.