diff --git a/Dockerfile b/Dockerfile index d463aae..943c5f3 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM node:15.8.0-alpine3.10 -RUN mkdir -p /usr/src/artapi -WORKDIR /usr/src/artapi +RUN mkdir -p /usr/src/athena +WORKDIR /usr/src/athena -COPY . /usr/src/artapi +COPY . /usr/src/athena RUN apk update && \ apk add git @@ -14,7 +14,7 @@ RUN yarn build RUN cp .env build -WORKDIR /usr/src/artapi/build +WORKDIR /usr/src/athena/build RUN yarn install --production diff --git a/README.md b/README.md index 33b6989..ab2a052 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# ArtApi 🧠 +# Athena 🧠 -ArtAPi is my personnal api connected to my instances +Athena is my personal api connected to my instances ## Features ✨ @@ -26,4 +26,4 @@ ArtAPi is my personnal api connected to my instances ## License 📑 Copyright © 2020 - [@ArthurDanj](https://arthurdanjou.fr) \ -This project is [MIT](https://github.com/ArthurDanjou/artapi/blob/master/LICENSE) Licensed. +This project is [MIT](https://github.com/ArthurDanjou/athena/blob/master/LICENSE) Licensed. diff --git a/config/redis.ts b/config/redis.ts index e9680f0..62cb325 100755 --- a/config/redis.ts +++ b/config/redis.ts @@ -40,7 +40,7 @@ const redisConfig: RedisConfig = { port: Env.get('REDIS_PORT'), password: Env.get('REDIS_PASSWORD', ''), db: Env.get('REDIS_DB', 0), - keyPrefix: 'artapi:', + keyPrefix: 'athena:', healthCheck: true }, }, diff --git a/config/session.ts b/config/session.ts index e3dab72..582f274 100755 --- a/config/session.ts +++ b/config/session.ts @@ -36,7 +36,7 @@ const sessionConfig: SessionConfig = { | The name of the cookie that will hold the session id. | */ - cookieName: 'artapi-session', + cookieName: 'athena-session', /* |-------------------------------------------------------------------------- diff --git a/package.json b/package.json index 770e01f..6c9e31f 100755 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "artapi", + "name": "athena", "version": "1.0.0", "private": true, "scripts": { diff --git a/start/routes/artapi.ts b/start/routes/api.ts similarity index 100% rename from start/routes/artapi.ts rename to start/routes/api.ts diff --git a/start/routes/index.ts b/start/routes/index.ts index f1efa6f..f2bc8d8 100644 --- a/start/routes/index.ts +++ b/start/routes/index.ts @@ -1,4 +1,4 @@ import './artsite' -import './artapi' +import './api' import './auth' import './home'