GithubHelp home page GithubHelp logo

viher3 / nottes-backend Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 809 KB

[Backend] Nottes is a web app where you can save text notes, links and files.

License: MIT License

PHP 99.25% Python 0.36% Dockerfile 0.39%

nottes-backend's Introduction

Nottes backend

Build Status Coverage Status

Nottes is a web app where you can save text notes, links and files. It's easy to use and Open Source.

Backend is built with Symfony 4 and the Frontend with Angular 5.

Screenshots

Features

Version 1 features:

  • Create a notte entity
  • Encrypt / decrypt nottte entities using php-encryption library
  • Upload file/s
  • Simple search for entities

Comming soon features:

  • User management
  • User roles management
  • Categories management

Common installation

Install dependencies

composer install

Create database schema

php bin/console doctrine:schema:create

Create a new admin user

php bin/console fos:user:create --super-admin

You can run backend in your favorite web server or run it with the built-in web server

php bin/console server:start

Docker installation

You have to copy your SSL certificate files (fullchain.pem and privkey.pem) in the folder defined in the docker-compose.yml file:

# ./docker/prod/docker-compose.yml
/var/www/ssl_certs:/var/www/ssl_certs

You can custom the folder path:

# ./docker/prod/docker-compose.yml
/your-custom-path:/var/www/ssl_certs

Run the docker container

cd /your-app-folder/docker/prod
docker-compose up -d

Now the backend is running

https://localhost:8083

API REST documentation

You can view the API REST documentation here:

http://localhost:8000/api/doc

LICENSE

Nottes is released under the MIT Licence. See the LICENSE file for details.

nottes-backend's People

Contributors

viher3 avatar

Stargazers

 avatar  avatar

Watchers

 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.