git clone https://github.com/Yanir-R/Serverly.git
npm i
npm run dev
nodemon a wrapper for node, will restart the server on file changes
npm start
An app with React & NodeJS that connects to MongoDB and manages servers, You can save or delete servers.
- 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
- Start the application with your browser at
http://localhost:3000/
An empty table is displayed with the headerNo 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
I created the project to test my abilities with React, TypeScript, NodeJS & MongoDB.