Coder Social home page Coder Social logo

aslamovyura / opendiary Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 3.51 MB

A web-appilcation developed on the .NET Core 3.1 (LTS). The application is a web diary for creating, reading & commenting on posts.

Home Page: https://open-diary-app.herokuapp.com/

License: MIT License

C# 77.37% HTML 13.22% CSS 8.45% JavaScript 0.78% Dockerfile 0.17%
netcore31 csharp website docker entity-framework-core automapper dto xunit moq mediator-pattern

opendiary's Introduction

OpenDiary

.NET Core

The application is a web diary for creating, reading and commenting on posts.

Each new user is invited to create his account and fill out information about himself. After that, user can write posts, share them or comment on posts of other authors.

Getting Started

The application is free-to-use, so just login to start creating amaizing posts!

If you have problems completing the registration (heroku may have problems sending emails via smtp.gmail.com), you can use the following login credentials:

login: [email protected]
pass:  ctyjdfkbnh

Application settings

For the correct deploy, it is necessary to update the appsettings.json in the project WebUI directory according to the template below.

{
  "ConnectionStrings": {
      "DefaultConnection": "Server=databaseServer;Database=databaseName;User Id=sa; Password=userPassword;"
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*",
}

Deployment to Heroku

After you install the Heroku CLI, run the following login commands:

heroku login
heroku container:login

For the application (HEROKU_APP) correct work, a database is required. To add PortgreSQL database on Heroku, use the following command:

heroku addons:create heroku-postgresql:hobby-dev --app:HEROKU_APP

To start the deployment to Heroku, run the following commands from the project folder:

docker build -t HEROKU_APP .
docker tag HEROKU_APP registry.heroku.com/HEROKU_APP/web
heroku container:push web -a HEROKU_APP
heroku container:release web -a HEROKU_APP

When deploying from Linux, use sudo for the commands above.

Built with

Author

Yury Aslamov - Software Developer, Ph.D.

License

This project is under the MIT License - see the LICENSE.md file for details.

opendiary's People

Contributors

aslamovyura avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.