Coder Social home page Coder Social logo

altmetrik's Introduction

Altmetrik

An Article content creation application.

How ​to ​setup ​and ​install ​anything ​needed ​for ​testing ​the ​project, ​e.g. ​db ​schema ​scripts?

  • The project configured to use SQLite
  • You may have to use pip install mysqlclient incase not done before.
  • You may run the requirements.txt file or refer the same for the additional packages to be installed.

How ​to ​run ​the ​project?

  • Once you have installed the dependent packages from requirements.txt.
  • move to team_management folder inside the project
  • Do python manage.py makemigrations
  • Do python manage.py migrate
  • use python manage.py runserver to the run the project locally on your system.

User interface for the user is available on this URL: http://127.0.0.1:8000/interface/

How ​to ​test ​the ​project, ​ideally ​with ​example ​CURL ​commands ​that ​exercise ​the ​various rest ​endpoints?

I have used postman tool to test the API's You may directly use this URL (http://127.0.0.1:8000/article/) to do CRUD operations on the Member table. A detailed API documentation for the app is available on this postman URL https://documenter.getpostman.com/view/43395/RWgm3g5X

Create Article: curl --request GET --url http://127.0.0.1:8000/article

Update Article: curl --request PATCH --url http://127.0.0.1:8000/article/2/ --header 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' --form first_name=New

Get Article: curl --request GET --url http://127.0.0.1:8000/article

Delete Aricle: curl --request DELETE --url http://127.0.0.1:8000/article/1 --header 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' --form first_name=New

altmetrik's People

Contributors

thatzprem 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.