Giter VIP home page Giter VIP logo

mydiary's Introduction

Build Status

Coverage Status

MyDiary is a website that enables someone to record their daily activities,personal affairs as well as emotions that may occur from time to time. One registers, logs in and then he or she starts writing.

The UI pages have been developed with HTML, CSS and Javascript

The link to the UI pages is https://kenneth051.github.io/MyDiary/UI/index.html

The link to heroku is https://bootcamp-challenge2.herokuapp.com/API/v1/entries

FEATURES OF MYDIARY

		-Creating an account

		-logging into the account

		-Entering content(Writitng)

		-Viewing all entries

		-Viewing a specific entry

		-Updating an entry

MY DIARY'S ENDPOINTS

		METHOD             ACTIVITY                     ENDPOINT

		-GET             fetching all entries           /API/v1/entries

		-POST            Creating an entry              /API/v1/entries

		-GET             Fething a specific entry       /API/v1/entries/<int:entryid>

		-PUT             Updating a specific entry      /API/v1/entries/<int:entryid>

GETTING STARTED WITH MY DIARY

1- Clone the repository to your computer

-git clone https://github.com/kenneth051/MyDiary.git

2-Install a virtual enviroment

		-pip install virtaulenv
		-in the projects root directory, create a virtual enviroment
		-virtualenv "Name of virtaulenv here without the qoutes"
		-activate the virtual env, in your project's root directory

	-on windows
		"virtual_env_folder_name_here"\Scripts\activate
    -on a mac
        source bin/activate

3-Install the dependencies in your virtual enviroment

	    -pip install -r requirements.txt

4-Run the application when you are in it's parent directory

	    -python run.py

Testing

To run tests #in root directory

        pytest --cov

-pytest --cov

The endpoints have been developed Using Python OOP based together with Flask framework implementing non persistent data using data structures for storage.

mydiary's People

Contributors

kenneth051 avatar

Watchers

James Cloos 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.