Skip to content

Yanir-R/Serverly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

image

Get Started

Clone the repo:

git clone https://github.com/Yanir-R/Serverly.git

Install dependencies:

npm i

Install npm i inside the client & server folders

Run the Server:

npm run dev

nodemon a wrapper for node, will restart the server on file changes

Run The Client:

npm start

Introduction

An app with React & NodeJS that connects to MongoDB and manages servers, You can save or delete servers.

Features

  • Create and Delete servers that are saved in the MongoDB database
  • Price for a running server based on the time spent running the server multiplied by the price of the server type
  • Open\Close toggle to control the status of the server
  • 3 types of servers with different costs
  • Simple Server validations
  • Ability to switch currencies

Instructions

  • Start the application with your browser at http://localhost:3000/
    An empty table is displayed with the header No Data Found
  • Fill in the input fields:
    Server Name
    Server IP
    Select a server from the dropdown list
  • Clicking on the Submit button will dynamically update the table
  • Open Toggle will dynamically change the Activity Time Cost every 4.5 seconds and the cost depending on the server you chose from the list
  • Close Toggle will stop the cost of the server
  • Clicking on the Remove button will remove the server from the table and from the DB

Motivation

I created the project to test my abilities with React, TypeScript, NodeJS & MongoDB.

Technologies

reactjs html css javascript mongodb nodejs typescript

License MIT © Yanir-r