Skip to content

Oleksandr073/ToDoApp-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ToDoApp-JS

Made With

HTML5

SASS SCSS

JavaScript

Webpack

Babel

Node.js

Prerequisites

This project requires NodeJS and NPM. Node and NPM are really easy to install. To make sure you have them available on your machine, try running the following command.

$ npm -v && node -v
8.11.0
v16.15.1

Table of contents

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installation

BEFORE YOU INSTALL: please read the prerequisites

Start with cloning this repo on your local machine:

$ git clone https://github.com/Oleksandr073/ToDoApp-JS.git
$ cd ToDoApp-JS

To install and set up the packages, run:

$ cd client
$ npm i
$ cd ../server
$ npm i
$ cd ..

To create .env, run:

$ cd server
$ cp example.env .env
$ cd ..

This task will copy example.env as .env inside your local server folder

Usage

Building a distribution version

$ cd client
$ npm run build

This task will create a distribution version of the project inside your local client/public/ folder

Building a development version

$ cd client
$ npm run dev 

This task will create a development version of the project inside your local client/public/ folder

Running client in the development mode

$ cd client
$ npm run watch

This task will create a development version of the project inside your local client/public/ folder whenever you change the code in the client folder

Serving the app

$ cd server
$ npm start

This task will start the server

Note this requires Building a distribution or development version first

Running server in the development mode

$ cd server
$ npm run dev

This task will restart the server whenever you change the code in the server folder

Note this requires Building a distribution or development version first

My figma template

https://www.figma.com/file/fgr1mHwGJJLs17L0MOTd3n/ToDoApp