new_contents: from flask_restful import Api
  from flask import Flask
  from flask_sqlalchemy import SQLAlchemy
  from flask_script import Manager
  from application.models import db
  from application import models
  from application.views import UserRegistration, GetBucketLists, DeleteBucketList,\
                                DeleteBucketListItem, CreateBucketListItems, GetBucketList,UpdateBucketList,\
                                UpdateBucketListItem, UserLogin, CreateBucketList
  from application.config import Config
  
  
  app = Flask(__name__)
  app.config['SQLALCHEMY_DATABASE_URI'] = Config.SQLALCHEMY_DATABASE_URI
  api = Api(app)
  db.app = app
  db.init_app(app)
  db.create_all()
  
  api.add_resource(UserRegistration, '/v1/auth/register')
  api.add_resource(GetBucketLists, '/v1/bucketlists')
  api.add_resource(CreateBucketListItems, '/v1/bucketlists/<int:id>/items')
  api.add_resource(UpdateBucketListItem, '/v1/bucketlists/<int:id>/items/<int:item_id>')
  api.add_resource(DeleteBucketListItem, '/v1/bucketlists/<int:id>/items/<int:item_id>')
  api.add_resource(CreateBucketList, '/v1/bucketlists')
  api.add_resource(GetBucketList, '/v1/bucketlists/<int:id>')
  api.add_resource(UpdateBucketList, '/v1/bucketlists/<int:id>')
  api.add_resource(DeleteBucketList, '/v1/bucketlists/<int:id>')
  api.add_resource(UserLogin, '/v1/auth/login')
  
  if __name__ == '__main__':
     app.run(debug = True, host='127.0.0.1', port=5200)
subject: Add a resources endpoint