Giter VIP home page Giter VIP logo

sns-facebook's Introduction

To Do Application - Simple

Last Commit Last Commit Last Commit

Overview

๐Ÿš€ This is a production ready and complete solution. It can be modified for your needs and deployed in the environment of your choice.

๐ŸŽ“ Perfect for learning the fundamentals of API AutoFlow.

Single page application with basic read and write to database.

A more advanced versions of To Do, Task management, and Work Collaboration applications are also available.

More features will be added to the project in the future.

The UI of this project was inspired by this amazing Radon333's work on todo-app.

Installation and usage

The easiest way is to clone the entire application from the cloud marketplace. But, feel free to customize the application by running it on your local computer.

Running on the Cloud

Follow the instructions on the cloud marketplace listing to clone the application (instance) to your account.

Running on the Local Computer

To run it locally to customize the application, please follow below instructions.

Download

Clone this repository :

git clone https://github.com/API-AutoFlow/To-Do-Basic.git

Frontend

Install & Run ReactJS Package:

cd frontend
npm install   
npm run dev 

Backend

Install & Run API AutoFlow packages :

โ–บ MAC: (press to expand)
cd backend/macos/api_interactor/bin
./api_interactor start 

Open up the browser and go to below URL

http://localhost:4000

๐Ÿšจ IMPORTANT: Run the servers by pressing the โ–ถ๏ธ button

Reference: http://www.interactor.com/product/autoflow/installation/macos

โ–บ Windows: (press to expand)

๐Ÿšจ IMPORTANT: Open the terminal (cmd) using Run as Administrator

cd /backend/windows/api_interactor/bin
./api_interactor install 
./api_interactor start 

Open up the browser and go to below URL

http://localhost:4000

๐Ÿšจ IMPORTANT ๐Ÿšจ Run the servers by pressing the โ–ถ๏ธ button

Reference: http://www.interactor.com/product/autoflow/installation/windows

โ–บ Linux: (press to expand)

Step 1: Download the linux version www.interactor.com/product/autoflow/download

Step 2: Open the terminal after downloading the software and Untar the file. For example:

tar -xzf autoflow_ubuntu20.tar

Step 3: Run API AutoFlow command

cd home/api_interactor/bin
./api_interactor start 

Step 4: Open up the browser and go to below URL

http://localhost:4000

Step 4: Run the servers by pressing the โ–ถ๏ธ button

Reference: http://www.interactor.com/product/autoflow/installation/linux

Database

Unfortunately, there's no easy way to just clone the entire database.

You first need to install the database in your computer and follow the instructions below to dump the data to your newly installed database.

Install MySQL:
https://dev.mysql.com/doc/mysql-installation-excerpt/8.0/en/

Install Workbench:
https://dev.mysql.com/downloads/workbench/

Import data to data:
https://dev.mysql.com/doc/workbench/en/wb-admin-export-import-management.html

๐Ÿšจ IMPORTANT: Use the file dump.sql to import into your database

Props

API Endpoints

No. Name Type Endpoint Description
1 Create POST / Creates the task
2 Read GET / Reads the task
3 Update PATCH / Updates the task
4 Delect DELETE / Deletes the task
  1. Create : POST /

Request:

{aas}

Response:

{aas}
  1. Read : GET /

Request:

{aas}

Response:

{aas}
  1. Update : PATCH /

Request:

{aas}

Response:

{aas}
  1. Delete : DELETE /

Request:

{aas}

Response:

{aas}

Database Tables

task:

id title due status

Scaling the solution

  • How to deploy in Kubernetes

Star, Fork, Clone & Contribute

Feel free to contribute on this repository. If my work helps you, please give me back with a star. This means a lot to me and keeps me going!

sns-facebook's People

Contributors

psdjungpulzze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dohy2n

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.