A web application that allows a user to create authentication and login to the website with their authenticated credentials. After becoming an authorized user, a user can create a user profile and add their allergies. Once their user profile and allergies have been added our application will match users with other users with complimentary/similar allergies for dating purposes. The application has full crud functionality for authenticated users. Non-authenticated users can interact with the site and see the full list of allergies.
-
First, make sure you have MySql Workbench downloaded and properly installed. You will also need a text editor and a command-line that you are comfortable with.
-
In your command line navigate to your desktop directory and clone this project https://github.com/CalebCoughenour/AtchooClient.Solution
-
Open the project in your preferred text editor, we recommend VSCode.
-
In the root directory, confirm there is a .gitignore file
-
Add:
*/obj/ */bin/ *.vscode */appsettings.json
-
To the .gitignore file. It will keep your repository clean of unnecessary files and protect your database from unauthorized access
-
Create an appsetting.json file at the root directory
-
Open the appsetting.json file and enter:
-
To create the database please do as follows:
- First create a file using the touch command in your command line, at the root of the project directory called "appsettings.json" and in that file add the following code, but substituting the text in the brackets for your own information.
{ "ConnectionStrings": { "DefaultConnection": "Server=localhost;Port=3306;database=[your_database];uid=[Your ID];pwd=[Your Password];" } }
-
Run the following from the project directory of
AtchooClient
- Run
dotnet add package Microsoft.EntityFrameworkCore -v 5.0.0
- Run
dotnet add package Pomelo.EntityFrameworkCore.MySql -v 5.0.0-alpha.2
- Run
dotnet add package Microsoft.EntityFrameworkCore.Proxies -v 5.0.0
- Run
dotnet add package Microsoft.AspNetCore.Identity.EntityFrameworkCore -v 5.0.0
- Run
-
Once all of the necessary set-up is in place, In your command line navigate to the directory "AtchooClient" and run the following commands in order:
dotnet restore
dotnet build
dotnet ef migrations add Initial
-
Once we have verified that the migration looks correct and made any necessary changes, we'll run the following commands:
dotnet ef database update
dotnet run
-
To interact with the local host website navigate to the project directory and run
dotnet run
-
Click on http://localhost:5000 and you are in there like swimwear!
- If no profile image is uploaded to a user profile it shows a broken image link
- Users can enter the direct URL to other profiles and Edit/Delete that respective profile
- Users can see other profiles listed for an allergy even if they don't have that allergy listed in their profile
Licensed under the MIT License.
Copyright (c) 2022
Meron Tekie ----- Mark McConnel ----- Caleb Coughenour
Marcus Lorenzo ----- Jake Edgar ----- Evgeniya Meshuris