Sign inSign up

burakhayirli/dotnetcore-couchbase-todoapp-webapi

By burakhayirli

•Updated almost 5 years ago

Dotnet Core Todo App Web Api With Couchbase

Image
1

309

burakhayirli/dotnetcore-couchbase-todoapp-webapi repository overview

You should create couchbase container named couchbasedb

docker run -d -p 8091:8091 --name couchbasedb couchbase

After database creation, you should set configs following

  • Username: Administrator
  • Password: 123456
  • Bucket Name: TodoApp

Next step, you need to create an index for complete couchbase configuration

  • Go to Query Editor clicking by Query tab and type query following:

    CREATE INDEX ix_type ON TodoApp(type)
    
  • Click the Execute button for run query

  • if you have a result after execution following, its sounds like configurations completed successfully

    {
      "results": []
    }
    

Lastly you should create api container link with couchbasedb container

docker run -d -p 5001:80 --link couchbasedb burakhayirli/dotnetcore-couchbase-todoapp-webapi

Now, you can run your application

Tag summary

Content type

Image

Digest

Size

88.1 MB

Last updated

almost 5 years ago

docker pull burakhayirli/dotnetcore-couchbase-todoapp-webapi