This project simulates a simplified DNS as a webapp
This project uses React (Typescript) for the front end This project uses C# (.NET) and the Entity Framework Core to connect to a SQLite Database
The project is split up into 2 main parts:
- C:..\myDNS\client-app - This is the front end, built with React + typescript
- C:..\myDNS\API - This is the back end, build with C# (.NET). including the API Calls located in ../API/Controllers/editRecordController.cs
The SQLite database is located at C:..\myDNS\API\dns.db You can view the database however you like. I personally use the SQLite extension for VSCode. You can press "ctrl+shift+p" and search SQLite and click on the open database option.
This web-app currently has 3 different functionalities:
- Retrieve a DNS record from the database
- Insert a DNS record to the database
- Delete a DNS record from the server.
To start the project:
- download or pull the code.
- from C:..\myDNS\ folder, type the command "dotnet run -p API/ to start the backend
- from C:..\myDNS\client-app\ folder, type "npm start" to start the front end