This project is a simple clone of Google Forms that allows users to create and view submissions. It demonstrates the use of a backend server to handle data and a frontend application to interact with users. The backend is built with Node.js and Express, while the frontend is built using Visual Basic in Visual Studio.
The purpose of this project is to provide a simple form submission system where users can create new submissions and view existing ones. It serves as an example of integrating a frontend application with a backend server.
db.json
).CreateSubmissionForm
and ViewSubmissionsForm
.google-forms-clone/
│
├── Slidely/
│ ├── dist/
│ │ ├── server.js
│ ├── src/
│ │ ├── db.json
│ │ ├── server.ts
│ ├── node_modules/
│ ├── package.json
│ ├── tsconfig.json
│ └── README.md
│
└── VisualStudioProject/
├── CreateSubmissionForm.vb
├── ViewSubmissionsForm.vb
├── Program.vb
└── VisualStudioProject.sln
Slidely: Contains the backend code.
VisualStudioProject: Contains the frontend code.
Clone the repository:
git clone https://github.com/yourusername/google-forms-clone.git
cd google-forms-clone/Slidely
Install the necessary dependencies:
npm install
Compile the TypeScript files:
tsc
Open the VisualStudioProject
solution in Visual Studio.
Ensure that all necessary NuGet packages are installed. You might need to restore NuGet packages if they are missing.
Navigate to the Slidely
directory:
cd google-forms-clone/Slidely
Start the server:
node dist/server.js
You should see the message:
Server is running on http://localhost:3000
Open the solution in Visual Studio.
Set the startup form to CreateSubmissionForm
or ViewSubmissionsForm
as needed.
Run the project by pressing F5
or clicking on the Start
button in Visual Studio.
{
"name": "John Doe",
"email": "[email protected]",
"phone": "1234567890",
"github_link": "https://github.com/johndoe",
"stopwatch_time": "00:05:00"
}
{
"success": true
}
index
: The index of the submission to fetch.{
"submission": {
"name": "John Doe",
"email": "[email protected]",
"phone": "1234567890",
"githubLink": "https://github.com/johndoe",
"stopwatchTime": "00:05:00"
}
}
CreateSubmissionForm
in Visual Studio.Submit
button to save the submission.
/submit
.ViewSubmissionsForm
in Visual Studio.Next
or Previous
buttons to navigate through the submissions.
/read
with the current index as a query parameter.Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure that your code adheres to the coding standards and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for more information.