wenhan1988 / file-upload-tutorial

A repository for Medium.com tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File Upload Tutorial

File upload tutorial using React.js & Node.js

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

You are going to need Node.js and npm installed on your machine.

Installing

How to properly install and configure this repository to work on your machine.

Cloning the repository

git clone ...

Enter cloned directory

cd file-upload/

Enter Backend directory and do npm install

cd file-upload/backend && npm install --save

Enter Frontend directory and do npm install

cd file-upload/frontend && npm install --save

Starting the repository on your machine

You will need to run Backend & Frontend seperately, ports are already configured, make sure you don't conflict them if you change anything.

Enter Frontend directory and do npm start

cd file-upload/frontend && npm start

Enter Backend directory and do npm start

cd file-upload/backend && npm start

Now you can load localhost:3000 in your browser and use the app.

Built With

  • React - Frontend javascript library
  • Node - Backend framework
  • Express - Node.js web application framework

Authors

Acknowledgments

  • This is a repository for my Medium.com tutorial
  • AirBnB's coding rules are applied in the frontend.

About

A repository for Medium.com tutorial


Languages

Language:JavaScript 81.0%Language:HTML 17.3%Language:CSS 1.6%