Skip to content

DatNgoHaVan/enet-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENET-PROJECT

A social network.

Build Status

Build server Platform Status
Travis Linux / MacOS Build Status
Circle Linux / MacOS CircleCI

Visual Studio 2017 and Postgresql For Windows

Prerequisites

Steps to run

NOTE: If you are using VSCode, please install C# Extension first!

  • Be sure you are in "enet-be" folder.
  • Build whole solution.
  • In Solution Explorer, make sure that "enet-be" is selected as the Startup Project
  • Open Package Manager Console Window and make sure that "enet-be" is selected as Default project. Then type "Update-Database" then press "Enter". This action will create database schema.
  • In Visual Studio, press "Control + F5". Or using "dotnet run" or "dotnet watch run" and hit "Enter" in VSCode.

Mac/Linux with PostgreSQL

Prerequisite

Steps to run

NOTE: If you are using VSCode, please install C# Extension first!

  • Be sure you are in enet-be folder.
  • Update the connection string in appsettings.json
  • Run file linux-build.sh by "sudo ./linux-build.sh". For ubuntu 18 "sudo bash linux-build.sh"
  • In the terminal, type "dotnet run" or "dotnet watch run" and hit "Enter".
  • Example with Postman Call register API: http://localhost:5000/api/register/

Guide for Postgresql GUI with pgAdmin4

  • Create new Server in "Browser"
  • Naming "enet-project" in General tab
  • In "Connection" tab put:
    • Host name/address: ec2-54-221-236-144.compute-1.amazonaws.com
    • Port:5432
    • Maintenance database: de2vih2jcgbu4k
    • Username: zdkttvdaxhtdxw
    • Password: b1e03365232c9676072635def7ca577b19bb7d3c00ccad42963f47b3a0109e36
  • In Database, let find "de2vih2jcgbu4k" database. It is our database.

Guide for Tesing API with Swagger

About

An social network project for training.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages